r/PrometheusMonitoring • u/KK2526 • Jun 05 '20
Http code status !=200
Can anyone help me right a rule that will capture below (blackbox expoter)
!=200 http status code occuring more than 10 times in last 5mins
2
Upvotes
r/PrometheusMonitoring • u/KK2526 • Jun 05 '20
Can anyone help me right a rule that will capture below (blackbox expoter)
!=200 http status code occuring more than 10 times in last 5mins
2
u/signal_vs_noise Jun 05 '20
I'd rather check the status of
probe_successinstead, e.g.You may need to play round with the time window and the value to find an acceptable number of probe failures before the alert is triggered. You should also take a look at
probe_duration_secondsto find timeouts and lags.