File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 11{{- if .Values.prometheus.serviceMonitor.enabled }}
2+ {{- if .Values.azuremanagedprometheus.use_azuremanagedprometheus }}
3+ apiVersion : azmonitoring.coreos.com/v1
4+ {{- else }}
25apiVersion : monitoring.coreos.com/v1
6+ {{- end }}
37kind : ServiceMonitor
48metadata :
59 name : {{ include "kafka-exporter.fullname" . }}
Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ datadog:
6464 {"kafka_consumergroup_current_offset": "kafka_consumergroup_current_offset"}
6565 ]
6666
67+ # Add support for azure managed prometheus by creating service monitor with the supported api group
68+ azuremanagedprometheus :
69+ use_azuremanagedprometheus : false
70+
6771resources : {}
6872 # We usually recommend not to specify default resources and to leave this as a conscious
6973 # choice for the user. This also increases chances charts run on environments with little
You can’t perform that action at this time.
0 commit comments