docs for negative matchers for route, inhibition

Signed-off-by: aSquare14 <atibhi.a@gmail.com>
This commit is contained in:
Atibhi Agrawal 2021-02-09 11:48:57 +05:30 committed by aSquare14
parent 23a7f89398
commit 0548bb1f3c
1 changed files with 16 additions and 0 deletions

View File

@ -153,6 +153,12 @@ match:
# A set of regex-matchers an alert has to fulfill to match the node.
match_re:
[ <labelname>: <regex>, ... ]
# A combined set of equality and regex with support of negative matching
# that an alert has to fulfill to match the node.
matchers:
[ <labelname>: <labelvalue>, <labelname>: <regex>, ... ]
# How long to initially wait to send a notification for a group
# of alerts. Allows to wait for an inhibiting alert to arrive or collect
@ -225,6 +231,11 @@ target_match:
[ <labelname>: <labelvalue>, ... ]
target_match_re:
[ <labelname>: <regex>, ... ]
# Matchers that have to be fulfilled in the alerts to be muted
# with support of negative matching.
target_matchers:
[ <labelname>: <labelvalue>, <labelname>: <regex>, ... ]
# Matchers for which one or more alerts have to exist for the
# inhibition to take effect.
@ -232,6 +243,11 @@ source_match:
[ <labelname>: <labelvalue>, ... ]
source_match_re:
[ <labelname>: <regex>, ... ]
# Matchers for which one or more alerts have to exist for the
# inhibition to take effect with support of negative matching.
source_matchers:
[ <labelname>: <labelvalue>, <labelname>: <regex>, ... ]
# Labels that must have an equal value in the source and target
# alert for the inhibition to take effect.