change default port cadvisor 9876 insted of 8080

This commit is contained in:
2025-12-12 10:59:22 +01:00
parent 85b9e81798
commit 859c6dc13f

View File

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