From 0af697e5c1c906236ed3669ef4184234b3d78ef5 Mon Sep 17 00:00:00 2001 From: MrEsL Date: Mon, 17 Jun 2024 16:32:51 +0300 Subject: [PATCH] target_label change --- pkg/app/dbs/tmpl/prom/prometheus/scrapeconfigs.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/app/dbs/tmpl/prom/prometheus/scrapeconfigs.tpl b/pkg/app/dbs/tmpl/prom/prometheus/scrapeconfigs.tpl index d2f0fc1b..5e465e9b 100644 --- a/pkg/app/dbs/tmpl/prom/prometheus/scrapeconfigs.tpl +++ b/pkg/app/dbs/tmpl/prom/prometheus/scrapeconfigs.tpl @@ -23,7 +23,7 @@ data: target_label: container_name - source_labels: [__meta_kubernetes_namespace] action: replace - target_label: namespace + target_label: scraper_namespace kubernetes_sd_configs: - role: pod selectors: