relabel node exporter instance
This commit is contained in:
parent
eab87b2494
commit
c2b4f125a9
@ -78,6 +78,9 @@ scrape_configs:
|
|||||||
consul_sd_configs:
|
consul_sd_configs:
|
||||||
- server: 'consul.service.consul:8500'
|
- server: 'consul.service.consul:8500'
|
||||||
services: ['node-exporter']
|
services: ['node-exporter']
|
||||||
|
relabel_configs:
|
||||||
|
- source_labels: [__meta_consul_node]
|
||||||
|
target_label: instance
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user