Skip to content

Commit

Permalink
fix: structured metadata not always passed down for processing delete…
Browse files Browse the repository at this point in the history
…s (backport k232) (#15532)

Co-authored-by: Ed Welch <edward.welch@grafana.com>
  • Loading branch information
loki-gh-app[bot] and slim-bean authored Dec 21, 2024
1 parent 6395edf commit a5197cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/logql/log/metrics_extraction.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a5197cb

Please sign in to comment.