Skip to content
Snippets Groups Projects
Verified Commit 1c5f8525 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(iot): Fix wrong comparator in monitoring metric

The "low temprature" alert should obviously check for
tempratures BELOW a threshold, not above.
parent 0bd57591
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ spec:
annotations:
description: The temprature of a room/sensor has dropped below 20°C over the past 6 hours.
summary: The temprature of a room/sensor has dropped below 20°C over the past 6 hours.
expr: avg_over_time(shellyht_temperature_celsius[10m]) > 20
expr: avg_over_time(shellyht_temperature_celsius[10m]) < 20
for: 6h
labels:
issue: Temprature in {{$labels.name}} is low. Turn up the heating!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment