-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Blackhole receiver #428
Comments
It is not desirable for performance reasons to have non-notifying alerts in the alertmanager. |
I agree. It's better not to send them at all. How? |
I don't know how to not send an alert at all, but it is perfectly possible to set up a blackhole receiver. Just configure a receiver with a
|
I'll close this as blackhole receivers are in fact possible. |
I was trying to do exactly this today, and I could not find how. Wouldn't it be good to add this in the documentation? |
Maybe. Note: You can also drop this at prometheus level (not send certain alerts at all):
|
@roidelapluie This is pretty interesting, can you elaborate a bit more, for example if I want to drop specific alarm before it goes to alertmanager. Let's say If I want to do this for "alertname": watchdog? |
Create a receiver which drops all alerts. Currently this requires a workaround involving email or webhook receivers and a dummy server.
Rationale: alertmanager should fully support the page/ticket/log model for alert severity. Alerts of "log" severity should be displayed on a dashboard but otherwise generate no notifications. Unless there's a plan to exclude them from being sent by prometheus to alertmanager, they must be dropped .
The text was updated successfully, but these errors were encountered: