From f655a0fc6eecb2963fb1c057ead249381ddc921b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Desvaux?= Date: Mon, 20 Mar 2023 15:50:02 +0100 Subject: [PATCH] set port cadvisor in variables --- templates/conf/prometheus.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: