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 

Reply via email to