Skip to content

Commit

Permalink
Clarify inhibition heuristics with equal labels (#1269)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomás S. Bregolin <thoms3rd@gmail.com>
  • Loading branch information
tbregolin authored and brian-brazil committed Jan 29, 2019
1 parent 20adb14 commit 74ae0da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/docs/alerting/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
for the label names in the `equal` list.

__Alerts can inhibit themselves. Avoid writing inhibition rules where
an alert matches both source and target.__
Semantically, a missing label and a label with an empty value are the same
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
# Matchers that have to be fulfilled in the alerts to be muted.
Expand Down

0 comments on commit 74ae0da

Please sign in to comment.