Thank you! It helps.
On Wednesday, August 12, 2020 at 9:05:17 AM UTC+2 Julien Pivotto wrote: > On 12 Aug 00:00, fiala...@gmail.com wrote: > > Hi, > > > > I would like to write a rule for alerting e.g. packet discards in > percent. > > > > My requirements are: > > - trigger an alert when discards are at least 10 minutes higher than X > > - close alert when discards are more then 60m equals to zero > > > > I'm not sure, how to define it in PromQL. Because I haven't information > > about state of the alert in promql. Have you any suggestions? > > > https://fr.slideshare.net/roidelapluie/improved-alerting-with-prometheus-and-alertmanager > > See the part about Hysteresis > > Regards, > > > > > Thank you, > > > > -- > > 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-use...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/e3331264-0f0c-4887-b951-53cc90c17844n%40googlegroups.com > . > > > -- > Julien Pivotto > @roidelapluie > -- 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/91113fc5-916c-4cf2-8cfb-52256372db2cn%40googlegroups.com.