On 19 Apr 12:09, Marek Fiala wrote: > Hi, > > what is the best way to detect value flapping? > > For example: I want to create an alert when load was higher than some > threshold more than 10 times in last 24 hours. > > Thank you.
- record: load:gt_10:10m expr: min_over_time(load_metric[10m]) > 10 - alert: LoadTooHighFor10m expr: count_over_time(load:gt_10:10m[24h]) > > > -- > 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/97d84202-f84c-49a3-9e03-eed64f90295d%40googlegroups.com. -- (o- Julien Pivotto //\ Open-Source Consultant V_/_ Inuits - https://www.inuits.eu -- 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/20200419191447.GA20947%40oxygen.
signature.asc
Description: PGP signature

