Hey I have a query like this
if sum by (locale) ( expression1)/sum by (locale) ( expression2) >=0 This gives me no data points and hence a broken graph sum_over_time did not work in this case as it does not take the "by" option Any way I can re write this ... can I make it avg of sum by locale or something like that ? Please guide On Thu, May 7, 2020 at 9:45 PM Brian Candler <[email protected]> wrote: > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/a43ba829-1460-46a2-adb1-5516fdf726c2%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/a43ba829-1460-46a2-adb1-5516fdf726c2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPz289tNPiNc0bRimUPp%2BguwbT4ceMdVM8YJOVRo-j2572hbQA%40mail.gmail.com.

