Hello all,
In alertmanager.yml file, is match or match_re mandatory in child route/s?
I want to add email , slack and pagerduty in child routes and want to send all alerts(without matching anything) to all 3 routes. So in this case, I don't need to match anything, but was not sure if match or match_re is mandotory and if so how to handle this scenario. Is this a valid alert manager configuration?:
route:
group_by: [job]
group_wait: 30s
group_interval: 5m
repeat_interval: 1h
receiver: fallback_email
continue: true
# The child route trees.
routes:
- receiver: 'email_client'
group_by: [job, service]
continue: true
- receiver: 'slack_client'
group_by: [app, job, service]
continue: true
- receiver: 'pagerduty_client'
group_by: [app]