mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus-mongodb-exporter] Add ServiceMonitor metricRelabelings (#23290)
Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>
This commit is contained in:
@@ -13,4 +13,4 @@ maintainers:
|
||||
name: prometheus-mongodb-exporter
|
||||
sources:
|
||||
- https://github.com/percona/mongodb_exporter
|
||||
version: 2.7.0
|
||||
version: 2.8.0
|
||||
|
||||
@@ -66,4 +66,5 @@ podAnnotations:
|
||||
| `serviceMonitor.namespace` | The namespace where the Prometheus Operator is deployed | `` |
|
||||
| `serviceMonitor.additionalLabels` | Additional labels to add to the ServiceMonitor | `{}` |
|
||||
| `serviceMonitor.targetLabels` | Set of labels to transfer on the Kubernetes Service onto the target. | `[]`
|
||||
| `serviceMonitor.metricRelabelings` | MetricRelabelConfigs to apply to samples before ingestion. | `[]` |
|
||||
| `tolerations` | List of node taints to tolerate | `[]` |
|
||||
|
||||
@@ -19,6 +19,9 @@ spec:
|
||||
- port: metrics
|
||||
interval: {{ .Values.serviceMonitor.interval }}
|
||||
scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }}
|
||||
{{- if .Values.serviceMonitor.metricRelabelings }}
|
||||
metricRelabelings: {{ toYaml .Values.serviceMonitor.metricRelabelings | nindent 4 }}
|
||||
{{- end }}
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- {{ .Release.Namespace }}
|
||||
|
||||
@@ -93,5 +93,6 @@ serviceMonitor:
|
||||
namespace:
|
||||
additionalLabels: {}
|
||||
targetLabels: []
|
||||
metricRelabelings: []
|
||||
|
||||
tolerations: []
|
||||
|
||||
Reference in New Issue
Block a user