Interview Prep/SRE & Reliability/Observability & Telemetry Decisions

A service returns HTTP 200 with an error message in the body for failures. Your availability SLI says 100%.

IntermediateScenarioObservability & Telemetry Decisions
Answer

Situation read → Status-code SLIs cannot see failures hidden in 200 responses. The SLI is lying.

What I'd do →

  1. Short term, add an app-level metric for business outcome: orders_total{result="success|failure"}.
  2. Change the SLI to use that outcome metric rather than HTTP code.
  3. Work with the team to return correct status codes (4xx for client errors, 5xx for server failures).
  4. Add a synthetic check that validates response content, not only status.
  5. Check for similar patterns elsewhere (GraphQL returns 200 with errors array by design — handle with a dedicated metric).

Why → An SLI must reflect user success; status codes are only a proxy.

Interview tip → Mention GraphQL explicitly — interviewers love that edge case.

All SRE & Reliability questions

More on Observability & Telemetry Decisions