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

Deduplicate alerts with multiple receivers when viewing All receivers #1961

Closed
comicmuse opened this issue Jul 12, 2019 · 5 comments
Closed

Comments

@comicmuse
Copy link
Contributor

My alerts go to multiple receivers. In 0.18.0, when I look at the default landing page on the alertmanager, with grouping on, I see a group for each receiver (though the receiver is not actually on the user interface).

I would expect only to see one instance of each alert when viewing All receivers.

am

@simonpasquier
Copy link
Member

Thanks for reporting! It looks very similar to #1959 and #1875.

@simonpasquier
Copy link
Member

For completeness, could you share your AlertManager configuration?

@comicmuse
Copy link
Contributor Author

Yeah, definitely looks like #1875 . Sorry - I should have found that one.

Redacted alertmanager.yml attached.
alertmanager.txt

@comicmuse
Copy link
Contributor Author

BTW, the reason I determined it was related to recievers was when I explicitly choose a Receiver from the dropdown, I no longer see the duplicates. (also ticking "Enable Custom Groups" removes the duplicates, for some reason)

@simonpasquier
Copy link
Member

I'm closing it for now as we can follow up on the other issues.

ticking "Enable Custom Groups" removes the duplicates, for some reason

This is because it falls back to the pre-v0.18 view which calls /api/v2/alerts instead of /api/v2/alerts/groups. The latter is buggy when you have routes that group on the same set of label names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants