prometheus-operator: Add snmp_ prefix
This commit is contained in:
parent
790ffa175b
commit
26a35cd0c3
@ -79,6 +79,11 @@ spec:
|
||||
prober:
|
||||
url: snmp-exporter:9116
|
||||
path: /snmp
|
||||
metricRelabelings:
|
||||
- sourceLabels: [__name__]
|
||||
regex: '(.*)'
|
||||
replacement: 'snmp_${1}'
|
||||
targetLabel: __name__
|
||||
targets:
|
||||
staticConfig:
|
||||
static:
|
||||
@ -132,6 +137,11 @@ spec:
|
||||
prober:
|
||||
url: snmp-exporter:9116
|
||||
path: /snmp
|
||||
metricRelabelings:
|
||||
- sourceLabels: [__name__]
|
||||
regex: '(.*)'
|
||||
replacement: 'snmp_${1}'
|
||||
targetLabel: __name__
|
||||
targets:
|
||||
staticConfig:
|
||||
static:
|
||||
@ -166,6 +176,11 @@ spec:
|
||||
prober:
|
||||
url: snmp-exporter:9116
|
||||
path: /snmp
|
||||
metricRelabelings:
|
||||
- sourceLabels: [__name__]
|
||||
regex: '(.*)'
|
||||
replacement: 'snmp_${1}'
|
||||
targetLabel: __name__
|
||||
targets:
|
||||
staticConfig:
|
||||
static:
|
||||
|
Loading…
Reference in New Issue
Block a user