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