'Prometheus calculate value longer than X in Grafana
I would like to have Prometheus show a value in Grafana that is over 60% and longer than a minute, I haven't found a solution yet.
I tried that "min(prtg_sensor_lastvalue{id="2053"} > 60)" but I only get the value which is over 60% but every point and not the value that is longer than a minute.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
