-
Notifications
You must be signed in to change notification settings - Fork 177
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
Sometimes, no rendering alerts #812
Comments
Definetely looks weird, do you have any configuration that would strip out some receiveres? Another possibility is that those alerts are very short lived so they get missed in between karma pulling data from the alertmanager API. |
Yes we have a filter on one receiver, because if we have an alert that match multiple receiver Karma don't aggregate them.
AM API seems to be OK, when we encounter this problem alerts correctly appears in AlertManager WebUI and API. |
Receivers aren't aggregated as they all can have different |
Alerts are correctly routed in |
Can you share your alertmanager & karma config? |
Alertmanager config
Karma config :
|
Thanks, I'll try to see if I can reproduce this using that. |
No warning, no error, all collects from Karma seems to be good.
|
Could you try alertmanager |
We already have 0.18.0
|
Awesome, I'll get back here once I have some time for debugging, thanks. |
I think I can see the same issue (or similar) with local demo setup, some receivers seems to flap between all alerts and no alerts. That will make debugging easier. Steps to reproduce: Alerts will flap between lots and none, which shouldn't happen. |
Issue seems to be with alertmanager rather than karma, at least with receivers
|
Raised prometheus/alertmanager#1959 |
I don't see this on our AlertManager, when Karma respond with a blank page all receivers seems to be good in AM API :
|
Based on your config I don't see how you could be affected, so there might be a separate problem here.
from your config. If it's the same issue I found in the demo setup the way it could affect you is:
If you stop stripping receivers in karma you should see those alerts all the time, but they will move between receivers. You can filter alerts via |
That does sound like prometheus/alertmanager#1959. Workarounds you could use while we wait for an upstream fix:
|
I'm surprised it goes to
|
A fix for prometheus/alertmanager#1959 was merged to alertmanager master branch, so the next release will include it |
This should be fixed in alertmanager v0.19.0 |
We use Karma on top of an AlertManager high availability cluster (with 2 or more AM). We use filter on labels. Sometimes no alerts rendering on Karma.
In this example, the number on top indicate that no alert match 'pf="sdr"' but in AM we can show the alerts.
We don't see error in Karma logs
Did you encounter this problem ?
The text was updated successfully, but these errors were encountered: