I am monitoring a machine via several graph panels (temperature, pressure, …) on which I manually added alerting limits.
However, when I run another product in my machine, the expected limits for each parameter are different. How can I take this into account to adapt my alerts generation to my production data?
I tried plotting the product number as a integer in query B, and run the alerts this way:
WHEN query(A, 5m, now) is outside range 100 to 200 <- Limits for parameters under 1st product
AND query (B, 5m, now) is withing range 2270 to 2270 <- My 1st product number
OR query(A, 5m, now) is outside range 200 to 300 <- Limits for parameters under 2nd product
AND query (B, 5m, now) is withing range 2350 to 2350 <- My 2nd product number
This doesn’t seem to work this way.