From af8cca6eb4331f1ede6fa8679efe270c5ec342ba Mon Sep 17 00:00:00 2001 From: Pete Wall Date: Thu, 16 Jan 2025 12:00:13 -0600 Subject: [PATCH] Add the integration label to the labels to keep list. It'll be dropped later, and it's required for the integration matcher later Signed-off-by: Pete Wall --- .../feature-pod-logs/templates/_common_log_processing.alloy.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/k8s-monitoring/charts/feature-pod-logs/templates/_common_log_processing.alloy.tpl b/charts/k8s-monitoring/charts/feature-pod-logs/templates/_common_log_processing.alloy.tpl index 5703e2699..f4ba24a73 100644 --- a/charts/k8s-monitoring/charts/feature-pod-logs/templates/_common_log_processing.alloy.tpl +++ b/charts/k8s-monitoring/charts/feature-pod-logs/templates/_common_log_processing.alloy.tpl @@ -54,7 +54,7 @@ loki.process "pod_logs" { // Only keep the labels that are defined in the `keepLabels` list. stage.label_keep { - values = {{ . | toJson }} + values = {{ append . "integration" | toJson }} } {{- end }}