Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
4a3649fb
Unverified
Commit
4a3649fb
authored
Feb 04, 2019
by
Björn Rabenstein
Committed by
GitHub
Feb 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1277 from prometheus/beorn7/alerting
Add documentation about alert inhibition
parents
955234f1
6548041a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
configuration.md
content/docs/alerting/configuration.md
+6
-0
No files found.
content/docs/alerting/configuration.md
View file @
4a3649fb
...
@@ -200,6 +200,12 @@ Semantically, a missing label and a label with an empty value are the same
...
@@ -200,6 +200,12 @@ 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
thing. Therefore, if all the label names listed in
`equal`
are missing from
both the source and target alerts, the inhibition rule will apply.
both the source and target alerts, the inhibition rule will apply.
To prevent an alert from inhibiting itself, an inhibition rule will never
inhibit an alert that matches _both_ the target and the source side of the
rule. However, we recommend to choose target and source matchers in a way that
alerts never match both sides. It is much easier to reason about and does not
trigger this special case.
```
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.
target_match
:
target_match
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment