forked from k-space/kube
		
	prometheus-operator: Add snmp_ prefix
This commit is contained in:
		| @@ -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: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user