Use matchers in routing tree
This commit is contained in:
1 parent
72f6ff3758
commit
30175b5e3c
2 files changed
+6
-6
No files matched your search
@@ -42,8 +42,8 @@ local defaults = {
|
||||
repeat_interval: '12h',
|
||||
receiver: 'Default',
|
||||
routes: [
|
||||
{ receiver: 'Watchdog', match: { alertname: 'Watchdog' } },
|
||||
{ receiver: 'Critical', match: { severity: 'critical' } },
|
||||
{ receiver: 'Watchdog', matchers: ['alertname = Watchdog'] },
|
||||
{ receiver: 'Critical', matchers: ['severity = critical'] },
|
||||
],
|
||||
},
|
||||
receivers: [
|
||||
|
||||
Reference in new issue
Block a user