Skip to content

Commit

Permalink
[prometheus-blackbox-exporter] Include additionalMetricsRelabels in s…
Browse files Browse the repository at this point in the history
…elfservicemonitor template (#4882)

* Include additionalMetricsRelabels in selfservicemonitor template

Signed-off-by: Sheikh-Abubaker <[email protected]>

* revert serviceMonitor, podMonitoring, configReloader to false

Signed-off-by: Sheikh-Abubaker <[email protected]>

---------

Signed-off-by: Sheikh-Abubaker <[email protected]>
  • Loading branch information
Sheikh-Abubaker authored Oct 8, 2024
1 parent aa3d8bc commit 848f830
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-blackbox-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Prometheus Blackbox Exporter
name: prometheus-blackbox-exporter
version: 9.0.0
version: 9.0.1
appVersion: v0.25.0
kubeVersion: ">=1.21.0-0"
home: https://github.com/prometheus/blackbox_exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ spec:
tlsConfig:
{{- toYaml .Values.configReloader.serviceMonitor.selfMonitor.tlsConfig | nindent 6 }}
{{- end }}
{{- with .Values.configReloader.serviceMonitor.selfMonitor.additionalMetricsRelabels }}
metricRelabelings:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if .Values.configReloader.serviceMonitor.selfMonitor.additionalRelabeling }}
relabelings:
{{- toYaml .Values.configReloader.serviceMonitor.selfMonitor.additionalRelabeling | indent 6 }}
Expand Down

0 comments on commit 848f830

Please sign in to comment.