From 1a89e0e039cde64318c4a16a2db1b29f77ba9752 Mon Sep 17 00:00:00 2001 From: "loki-gh-app[bot]" <160051081+loki-gh-app[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:08:11 -0500 Subject: [PATCH] fix: structured metadata not always passed down for processing deletes (backport k233) (#15527) 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) {