i want to achieve the specified SLI(Service Level Indicator) for our http endpoints using blackbox exporter for probing like the following indicators: 80% availability Latency less than 1s
For latency i figured i can use the query probe_http_duration_seconds > 1 but for availability i am not sure i am doing it correctly with quantile_over_time(0.80, probe_http_status_code)[1d] > 400. The condition greater than 400 is used to check for http errors because i assume the http status code above 400 is an error. Is this correct for my case if not please guide me. Thanks