set port cadvisor in variables
This commit is contained in:
1 parent
81ca386d67
commit
729456e034
1 file changed
+1
-1
@@ -362,7 +362,7 @@ scrape_configs:
|
|||||||
scrape_interval: 30s
|
scrape_interval: 30s
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
{% for target in prometheus_cadvisor_exporter_targets %}
|
{% for target,port in prometheus_cadvisor_exporter_targets %}
|
||||||
- {{ target }}:{{ port }}
|
- {{ target }}:{{ port }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
|
|||||||
Reference in new issue
Block a user