From abe39e9b514746527301c65f9af62efcb4cbf7b3 Mon Sep 17 00:00:00 2001 From: miwr Date: Wed, 30 Apr 2025 11:23:53 +0200 Subject: [PATCH] added app label --- template/stacks/monitoring/alloy/values.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/template/stacks/monitoring/alloy/values.yaml b/template/stacks/monitoring/alloy/values.yaml index a2ac67d..75e5781 100644 --- a/template/stacks/monitoring/alloy/values.yaml +++ b/template/stacks/monitoring/alloy/values.yaml @@ -70,6 +70,11 @@ alloy: target_label = "container" } + rule { + source_labels = ["__meta_kubernetes_pod_label_app"] + action = "replace" + target_label = "app" + } } loki.source.kubernetes "all_pod_logs" {