This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
Default rules not working correctly #157
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
With the defaults now as they are CPU,RAM and DiskSpace alerts needs to be reworked.
eg.
(100 * (1 - avg(irate(node_cpu{job="node",mode="idle"}[5m])) BY (instance))) > 96
won't work, but
100 - (avg by (instance) (irate(node_cpu_seconds_total{job="node",mode="idle"}[5m])) * 100) > 96
will
I think the PromQL just changed as I remember those defaults to be working correctly (unless I am missing something and the first one is ok).
The text was updated successfully, but these errors were encountered: