Relabel instance to container_name
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ad5c55ca23
commit
945fe5d39d
@ -25,6 +25,11 @@ scrape_configs:
|
|||||||
- targets:
|
- targets:
|
||||||
- localhost:9090
|
- localhost:9090
|
||||||
- job_name: 'service_discovery'
|
- job_name: 'service_discovery'
|
||||||
|
metric_relabel_configs:
|
||||||
|
- source_labels:
|
||||||
|
- "container_name"
|
||||||
|
target_label: "instance"
|
||||||
|
action: replace
|
||||||
file_sd_configs:
|
file_sd_configs:
|
||||||
- files:
|
- files:
|
||||||
- /label_discovery/docker-targets.json
|
- /label_discovery/docker-targets.json
|
||||||
|
Loading…
Reference in New Issue
Block a user