Skip to content

Commit

Permalink
[prometheus-mysql-exporter]: Add metrics when multipleTarget enable (
Browse files Browse the repository at this point in the history
…prometheus-community#4356)

* add service monitor

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* update chart version

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* fix bug

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* fix bug

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
  • Loading branch information
dongjiang1989 authored and Matiasmct committed Mar 20, 2024
1 parent ed6d252 commit 4c8dc51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-mysql-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for prometheus mysql exporter with cloudsqlproxy
name: prometheus-mysql-exporter
version: 2.5.0
version: 2.5.1
home: https://github.com/prometheus/mysqld_exporter
appVersion: v0.15.1
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- client.{{ .name }}
{{- end }}
{{- end }}
{{- else }}
{{- end }}
- path: /metrics
port: {{ .Values.service.name }}
{{- if .Values.serviceMonitor.interval }}
Expand All @@ -87,5 +87,4 @@ spec:
{{- if .Values.serviceMonitor.relabelings }}
relabelings: {{ toYaml .Values.serviceMonitor.relabelings | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 4c8dc51

Please sign in to comment.