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

duplicate alert groups returned by api #1875

Closed
stuartnelson3 opened this issue May 3, 2019 · 6 comments
Closed

duplicate alert groups returned by api #1875

stuartnelson3 opened this issue May 3, 2019 · 6 comments

Comments

@stuartnelson3
Copy link
Contributor

What did you do?

view the alert list page via the ui

What did you expect to see?

non-duplicated alert groups

What did you see instead? Under which circumstances?

some alert groups are duplicated. i'm not sure why yet.

Environment

  • System information:

    insert output of uname -srm here

  • Alertmanager version:

    0.17.0

Of the 110 currently active alert groups at soundcloud, only 2 of the groups are duplicated (for a total of 4 groups being returned from the api, when only 2 of them should be). The groups appear to be perfectly duplicated.

@stuartnelson3
Copy link
Contributor Author

This might be an artifact of that particular group's configuration. It only affects a single team. I'm thinking there might be some race condition in creating the groups internal to alertmanager when the routes are configured in a certain way. This would also explain why they have been seeing duplicate messages.

@taisph
Copy link

taisph commented Jun 24, 2019

We currently see a duplicated alert in the UI with 0.17.0 but not with amtool alert query. Clicking "+ Info" on either expands both alerts in the UI. Not sure if it is the same issue.

@psalaberria002
Copy link

I also see duplicate groups. Version 0.18.

Screen Shot 2019-07-10 at 01 04 42

@simonpasquier
Copy link
Member

I can reproduce as well. It happens when I configure routes with the same group_by and continue: true. I'll dig into it...

@simonpasquier
Copy link
Member

simonpasquier commented Aug 23, 2019

#1964 has fixed the problem on the API v2 side but there's still a glitch in the UI: when several groups have the same grouping labels, clicking on the +/- button will expand/collapse all of them.

screencast

@simonpasquier
Copy link
Member

Closed by #2012 and #1964

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

No branches or pull requests

4 participants