The first matching route wins.  If you want a matched route to continue 
onto subsequent matches, add "continue: true".  You would need to set this 
on both of your first two routes, if you want those alerts to go to 
alertnow as well as to slack.

The documentation you need is here: 
https://prometheus.io/docs/alerting/configuration/#route

*"Every alert enters the routing tree at the configured top-level route, 
which must match all alerts (i.e. not have any configured matchers). It 
then traverses the child nodes. If continue is set to false, it stops after 
the first matching child. If continue is true on a matching node, the alert 
will continue matching against subsequent siblings. If an alert does not 
match any children of a node (no matching child nodes, or none exist), the 
alert is handled based on the configuration parameters of the current 
node."*

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/a43ba829-1460-46a2-adb1-5516fdf726c2%40googlegroups.com.

Reply via email to