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

Support Sub Alerts #4681

Open
roidelapluie opened this Issue Sep 30, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@roidelapluie
Copy link
Contributor

roidelapluie commented Sep 30, 2018

In order to have better alerting, I would like to have prometheus support for «sub alerts»:

Example(Pseudo Code):

  • Alert when disk usage > 95%
    • Until: disk usage > 90%

It means that the alert fires when the main alert is firing, and keeps firing until all the subalerts and the main one are solved.

Sub alerts are only computed when the first alert is firing or all the sub alerts are not resolved.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Oct 1, 2018

In Prometheus our philosophy is that alerts should be symptom based rather than cause based, and require intelligent human action (see https://prometheus.io/docs/practices/alerting/). If you're depending on hysteresis or other logic to indicate that a problem is "fixed", then that is an indication that you're probably doing cause-based alerting and trying to deal with the noisiness of that tactic rather than using the symptom-based strategy. If an alert fires it should be severe enough to call in a human, and what the alert does after that isn't too important - as the human is already there to determine the issue and when it's really resolved.

See also https://www.robustperception.io/running-into-burning-buildings-because-the-fire-alarm-stopped

@roidelapluie

This comment has been minimized.

Copy link
Contributor Author

roidelapluie commented Oct 1, 2018

We have lots of alerts targetted at automation systems for healing ; not just people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.