Relabel instance to container_name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Manske 2023-04-17 21:49:02 +02:00
parent ad5c55ca23
commit 945fe5d39d
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -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