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
Branches
Tags
No related merge requests found
...@@ -59,7 +59,7 @@ spec: ...@@ -59,7 +59,7 @@ spec:
annotations: annotations:
description: The temprature of a room/sensor has dropped below 20°C over the past 6 hours. 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. 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 for: 6h
labels: labels:
issue: Temprature in {{$labels.name}} is low. Turn up the heating! 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.
Please register or to comment