Commit 74ae0dae authored by Thomás S. Bregolin's avatar Thomás S. Bregolin Committed by Brian Brazil

Clarify inhibition heuristics with `equal` labels (#1269)

Signed-off-by: 's avatarThomás S. Bregolin <thoms3rd@gmail.com>
parent 20adb146
...@@ -196,8 +196,9 @@ when an alert (source) exists that matches another set of matchers. ...@@ -196,8 +196,9 @@ when an alert (source) exists that matches another set of matchers.
Both target and source alerts must have the same label values Both target and source alerts must have the same label values
for the label names in the `equal` list. for the label names in the `equal` list.
__Alerts can inhibit themselves. Avoid writing inhibition rules where Semantically, a missing label and a label with an empty value are the same
an alert matches both source and target.__ thing. Therefore, if all the label names listed in `equal` are missing from
both the source and target alerts, the inhibition rule will apply.
```yaml ```yaml
# Matchers that have to be fulfilled in the alerts to be muted. # Matchers that have to be fulfilled in the alerts to be muted.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment