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

[v10.0.x] Alerting: Move rule UID from Loki stream labels into log lines #70686

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 4aa477f from #70637


What is this feature?

Continuing from #65474, this removes the rule UID from the log stream labels and adds it into the log line. Log streams will be per rule group.

Queries will now also filter the log line itself for the rule UID rather than the labels.

Why do we need this feature?

Further reduces cardinality of log streams.

Which issue(s) does this PR fix?:

N/A

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

Move rule uid into log line to reduce cardinality

(cherry picked from commit 4aa477f)
@grafana-delivery-bot grafana-delivery-bot bot requested a review from a team June 26, 2023 13:59
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.0.x milestone Jun 26, 2023
@grafana-delivery-bot grafana-delivery-bot bot added add to changelog area/alerting Grafana Alerting area/backend backport A backport PR kata:state-history product-approved Pull requests that are approved by product/managers and are allowed to be backported labels Jun 26, 2023
@grafanabot grafanabot added the pr/external This PR is from external contributor label Jun 26, 2023
@rwwiv rwwiv merged commit 83cd290 into v10.0.x Jun 26, 2023
@rwwiv rwwiv deleted the backport-70637-to-v10.0.x branch June 26, 2023 14:13
@zerok zerok modified the milestones: 10.0.x, 10.0.2 Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog area/alerting Grafana Alerting area/backend backport A backport PR kata:state-history pr/external This PR is from external contributor product-approved Pull requests that are approved by product/managers and are allowed to be backported
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants