commit | 5457edf881bacc782edcbc68150ecb22437ae734 | [log] [tgz] |
---|---|---|
author | Richard Felkl <rfelkl@mirantis.com> | Mon Apr 23 09:02:21 2018 +0000 |
committer | Gerrit Code Review <gerrit2@49259fdfccf8> | Mon Apr 23 09:02:21 2018 +0000 |
tree | df9686e548929003e6bc16eb3a60dc06826568d7 | |
parent | df3291801257fc90b94df00cbc67fe8e076a3ef3 [diff] | |
parent | c12b48a54e8b2f03f41fcf741c7fedc6d5bf7eed [diff] |
Merge "Add filtering for notification receivers"
diff --git a/prometheus/alertmanager/notification/email.yml b/prometheus/alertmanager/notification/email.yml index 4daec23..fdbc05e 100644 --- a/prometheus/alertmanager/notification/email.yml +++ b/prometheus/alertmanager/notification/email.yml
@@ -9,7 +9,7 @@ receiver: SMTP match_re: - label: route - value: email + value: '(.*email.*)' continue: true receiver: SMTP:
diff --git a/prometheus/alertmanager/notification/pushkin.yml b/prometheus/alertmanager/notification/pushkin.yml index 151801b..ec749d7 100644 --- a/prometheus/alertmanager/notification/pushkin.yml +++ b/prometheus/alertmanager/notification/pushkin.yml
@@ -10,6 +10,9 @@ routes: pushkin: receiver: HTTP-pushkin + match_re: + - label: route + value: '(.*pushkin.*)' continue: true receiver: HTTP-pushkin:
diff --git a/prometheus/alertmanager/notification/slack.yml b/prometheus/alertmanager/notification/slack.yml index 412e91f..a86c403 100644 --- a/prometheus/alertmanager/notification/slack.yml +++ b/prometheus/alertmanager/notification/slack.yml
@@ -7,6 +7,9 @@ routes: slack: receiver: HTTP-slack + match_re: + - label: route + value: '(.*slack.*)' continue: true receiver: HTTP-slack: