Use matchers in routing tree

This commit is contained in:
Andrei Nistor committed 2021-11-16 14:14:35 +02:00
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: [