-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Not all receivers present in /api/v2/alerts/groups responses #1959
Comments
I see that this check https://github.com/prometheus/alertmanager/blob/master/dispatch/dispatch.go#L170-L171 skips some receivers because alert groups with 2 different receiver have same fingerprint
and that seems to be caused by the fact that it uses labels (and nothing else) to calculate fingerprint. Is this |
I'll have a look at it tomorrow but it feels related to #1875 |
Anything I can do to help here? |
No worries. I think that just dropping that whole |
The main reason for the |
Makes sense, thanks |
What did you do?
Query /api/v2/alerts/groups responses continuesly
What did you expect to see?
Based on my configuration alerts should go to all receivers, so groups should be generated for each receiver as well. Alerts are tagged with all configured receivers but groups for some receivers are missing.
What did you see instead? Under which circumstances?
With the configuration as below:
Configuration
When I query api/v2/alerts/groups I will get alert groups for either
default
orby-name
receiver, but never both. Responses keep switching between one or the other.See captured respones with only Receiver field from the group object and from alert objects.
1.txt
2.txt
One shows default receiver groups present, the other by-name receiver groups.
Environment
Linux 5.1.16-300.fc30.x86_64 x86_64
Same behaviour observed with 0.17.0
N/A
Configuration
Didn't find any logs that would show API response information relevant to this
The text was updated successfully, but these errors were encountered: