Hi Guys,
My
alertmanager works fine but not in a way I like, all alerts are fired
by the root pagerduty and it doesn't query with its child receivers.
Any recommendation please!
route:
group_wait: 10s
group_by: [alertname]
group_interval: 30s
repeat_interval: 30m
receiver: "rootPageduty"
routes:
- receiver: "X"
group_wait: 10s
match_re:
alertname: "/^(?:test1)$/"
continue: true
- receiver: 'Y'
group_wait: 10s
match_re:
alertname: "/^(?:test2)$/"
continue: true
- receiver: "Z"
group_wait: 10s
match_re:
alertname: "/^(?:test3)$/"
continue: true
receivers:
- name: rootPageduty
pagerduty_configs:
- service_key: xxx
- name: X
pagerduty_configs:
- service_key: xxx
- name: Y
pagerduty_configs:
- service_key: xxx
- name: Z
pagerduty_configs:
- service_key: xxx