Which responses should count as "bad" in an availability SLI?

IntermediateConceptSLIs, SLOs & SLAs
Answer

Count as bad anything that is the service's fault: 5xx responses, timeouts, connection resets, and 429s or 503s returned because the service is overloaded. Usually exclude client errors (400, 401, 403, 404) because the request itself was invalid. Be careful: a bug that returns 400 for valid input or 404 for existing objects is a real failure, so some teams track specific 4xx codes as bad. Also exclude health checks and synthetic traffic from the denominator, or they dilute the ratio.

All SRE & Reliability questions Roadmap: SRE & incident response

More on SLIs, SLOs & SLAs