add crodsecurity to pormetheus
This commit is contained in:
parent
922bdb4b59
commit
f6503ce887
@ -70,6 +70,11 @@ scrape_configs:
|
|||||||
consul_sd_configs:
|
consul_sd_configs:
|
||||||
- server: 'consul.service.consul:8500'
|
- server: 'consul.service.consul:8500'
|
||||||
services: ['crowdsec-metrics']
|
services: ['crowdsec-metrics']
|
||||||
|
relabel_configs:
|
||||||
|
- source_labels: [__meta_consul_node]
|
||||||
|
target_label: machine
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EOH
|
EOH
|
||||||
|
Loading…
Reference in New Issue
Block a user