From a5197cbd1e3f05dfc38d8e5f83046de998b58e65 Mon Sep 17 00:00:00 2001 From: "loki-gh-app[bot]" <160051081+loki-gh-app[bot]@users.noreply.github.com> Date: Sat, 21 Dec 2024 08:50:32 -0500 Subject: [PATCH] fix: structured metadata not always passed down for processing deletes (backport k232) (#15532) Co-authored-by: Ed Welch --- pkg/logql/log/metrics_extraction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/logql/log/metrics_extraction.go b/pkg/logql/log/metrics_extraction.go index a7e37cfcc042f..fbffc5eb2df11 100644 --- a/pkg/logql/log/metrics_extraction.go +++ b/pkg/logql/log/metrics_extraction.go @@ -283,7 +283,7 @@ func (sp *filteringStreamExtractor) Process(ts int64, line []byte, structuredMet } } - return sp.extractor.Process(ts, line) + return sp.extractor.Process(ts, line, structuredMetadata...) } func (sp *filteringStreamExtractor) ProcessString(ts int64, line string, structuredMetadata ...labels.Label) (float64, LabelsResult, bool) {