Hi,

I have a metric bgp_state_info. Ok state is when metric has value = 3, 
other values (from 1 to 7) are considered as error.

I want to fire alert only for metrics that has value 3 at least only once. 
In other words I dont' want to fire alert for bgp that never worked.

Is it possible via promQL to do this? I have data retention 60 days and I'm 
aware of this limitations.

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/66b0d62e-a2d7-461e-b451-abf02d7c01c3n%40googlegroups.com.

Reply via email to