1

For a gauge meter scraped by Prometheus, say a temperature, is there a way how to detect it has been monotonically increasing for given period of time, say last couple of minutes or hours. This is so that it can be alerted on in Grafana.

This would be handy to detect that AC went off and such.

Vlad
  • 156
  • 12
  • The deriv() of the gauge will be positive if temperature is increasing and negative when starts to get down. Does it help? – la00 Jul 29 '22 at 08:38
  • Given that `deriv()` accepts a time range, it seems like this could do the trick. – Vlad Jul 29 '22 at 09:25

0 Answers0