Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v11.0.x] LogContext: Fix structured metadata labels being added as stream selectors #86826

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport a8424f4 from #86825


What is this feature?

In case there are labels that are both, indexed in some streams, and structured metadata in other streams, LogContext would add those labels to the stream selector. This PR fixes the behaviour by making use of the labelTypes field and will correctly determine if that label is indexed or not.

Why do we need this feature?

Fixes #85582

…ctors (#86825)

* LogContext: Fix structured metadata labels being added as stream selectors

* use row index

(cherry picked from commit a8424f4)
@svennergr svennergr merged commit 6dedea2 into v11.0.x Apr 24, 2024
21 checks passed
@svennergr svennergr deleted the backport-86825-to-v11.0.x branch April 24, 2024 12:09
@fabrizio-grafana fabrizio-grafana modified the milestones: 11.0.x, 11.0.0 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants