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] Alerting: Fix simplified routing group by override #86563

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 7144500 from #86552


What is this feature?

Custom group by overrides for simplified routing looked like they were generating correctly using GroupByStr, displaying correctly in exports and UI but the generated routes were actually missing required fields normally set during upstream Route validation.

This fix ensures the missing fields GroupBy and GroupByAll are applied to the generated routes.

Why do we need this feature?

For simplified routing group by overrides to function correctly.

Who is this feature for?

Users of simplified routing.

* Alerting: Fix simplified routing custom group by override

Custom group by overrides for simplified routing were missing required fields
GroupBy and GroupByAll normally set during upstream Route validation.

This fix ensures those missing fields are applied to the generated routes.

* Inline GroupBy and GroupByAll initialization instead of normalize after

(cherry picked from commit 7144500)
@grafana-delivery-bot grafana-delivery-bot bot requested a review from a team as a code owner April 19, 2024 01:09
@grafana-delivery-bot grafana-delivery-bot bot requested review from rwwiv, JacobsonMT, yuri-tceretian and grobinson-grafana and removed request for a team April 19, 2024 01:09
@grafana-delivery-bot grafana-delivery-bot bot added this to the 11.0.x milestone Apr 19, 2024
@JacobsonMT JacobsonMT enabled auto-merge (squash) April 19, 2024 01:11
@JacobsonMT JacobsonMT merged commit 56cd797 into v11.0.x Apr 19, 2024
21 checks passed
@JacobsonMT JacobsonMT deleted the backport-86552-to-v11.0.x branch April 19, 2024 01:25
@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
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants