Skip to content

Grafana Alertmanager: Fix template validation on Apply for empty receivers #11575

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

Merged
merged 3 commits into from
May 28, 2025

Conversation

JacobsonMT
Copy link
Contributor

Empty receivers were defaulting to using Mimir AM template functions for parsing. This causes issues when Grafana-only template functions are defined.

…ivers

Empty receivers were defaulting to using Mimir AM template functions for parsing.
This causes issues when Grafana-only template functions are defined.
@JacobsonMT JacobsonMT requested review from a team as code owners May 28, 2025 17:59
@github-project-automation github-project-automation bot moved this to In review in Alerting May 28, 2025
Copy link
Contributor

@yuri-tceretian yuri-tceretian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@JacobsonMT JacobsonMT enabled auto-merge (squash) May 28, 2025 18:18
@JacobsonMT JacobsonMT merged commit a14e502 into main May 28, 2025
30 checks passed
@JacobsonMT JacobsonMT deleted the jacobsonmt/fix-remote-am-empty-receiver-validation branch May 28, 2025 18:38
@github-project-automation github-project-automation bot moved this from In review to Done in Alerting May 28, 2025
mimir-github-bot bot pushed a commit that referenced this pull request May 28, 2025
…ivers (#11575)

* Grafana Alertmanager: Fix template validation on Apply for empty receivers

Empty receivers were defaulting to using Mimir AM template functions for parsing.
This causes issues when Grafana-only template functions are defined.

(cherry picked from commit a14e502)
JacobsonMT added a commit that referenced this pull request May 29, 2025
…ivers (#11575) (#11576)

* Grafana Alertmanager: Fix template validation on Apply for empty receivers

Empty receivers were defaulting to using Mimir AM template functions for parsing.
This causes issues when Grafana-only template functions are defined.

(cherry picked from commit a14e502)

Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
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.

3 participants