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 promethe...@googlegroups.com.
This is my load expression:avg(node_load1) / count(count(node_cpu_seconds_total) by (cpu)) * 100I'm not sure, how to convert it to range vector.