From 859c6dc13f20b68f1d3d412a7e40132bdc0f26b2 Mon Sep 17 00:00:00 2001 From: jyfou Date: Fri, 12 Dec 2025 10:59:22 +0100 Subject: [PATCH] change default port cadvisor 9876 insted of 8080 --- templates/conf/vmagent.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/conf/vmagent.yml.j2 b/templates/conf/vmagent.yml.j2 index 976f501..0f19da1 100644 --- a/templates/conf/vmagent.yml.j2 +++ b/templates/conf/vmagent.yml.j2 @@ -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 %}