-
Notifications
You must be signed in to change notification settings - Fork 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
Clarify inhibition heuristics with equal
labels
#1269
Clarify inhibition heuristics with equal
labels
#1269
Conversation
@@ -196,6 +196,10 @@ when an alert (source) exists that matches another set of matchers. | |||
Both target and source alerts must have the same label values | |||
for the label names in the `equal` list. | |||
|
|||
Prometheus interprets any missing label as a label with an empty value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not an interpretation, they're the same thing semantically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Thanks.
Prometheus interprets any missing label as a label with an empty value. | ||
Therefore, if all the label names listed in `equal` are missing from both the | ||
source and target alerts, the inhibition rule will apply. | ||
|
||
__Alerts can inhibit themselves. Avoid writing inhibition rules where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is out of date
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Removed, was fixed at prometheus/alertmanager#1017.
Signed-off-by: Thomás S. Bregolin <thoms3rd@gmail.com>
675d0ec
to
2222d37
Compare
Thanks! |
Point to version specific directories.
@fabxc @brian-brazil This clarifies the intended behaviour of inhibitions in regards to
equal
labels, as discussed at prometheus/alertmanager#1727 and prometheus/alertmanager#507