diff --git a/templates/conf/prometheus.yml.j2 b/templates/conf/prometheus.yml.j2 index 4969604..c4f609b 100644 --- a/templates/conf/prometheus.yml.j2 +++ b/templates/conf/prometheus.yml.j2 @@ -362,7 +362,7 @@ scrape_configs: scrape_interval: 30s static_configs: - targets: -{% for target,port in prometheus_cadvisor_exporter_targets %} +{% for target in prometheus_cadvisor_exporter_targets %} - {{ target }} {% endfor %} relabel_configs: