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. Please 
help Thank you!


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

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/b849cde8-a7b7-42d0-ae26-e748c8080591n%40googlegroups.com.

Reply via email to