change default port cadvisor 9876 insted of 8080
This commit is contained in:
1 parent
85b9e81798
commit
859c6dc13f
1 file changed
+2
-2
@@ -384,12 +384,12 @@ scrape_configs:
|
||||
static_configs:
|
||||
- targets:
|
||||
{% for target in prometheus_cadvisor_exporter_targets %}
|
||||
- {{ target }}:8080
|
||||
- {{ target }}:9876
|
||||
{% endfor %}
|
||||
relabel_configs:
|
||||
- source_labels: [ __address__ ]
|
||||
target_label: instance
|
||||
regex: '(.*):8080'
|
||||
regex: '(.*):9876'
|
||||
replacement: '${1}'
|
||||
{% endif %}
|
||||
{% if prometheus_cloudflare_exporter_targets is defined %}
|
||||
|
||||
Reference in new issue
Block a user