Interpret a Request-Based Error Budget
Calculate an SLO budget and distinguish failure rate from budget consumption.
Before you start: Understand percentages
The scenario
A service handles 1,000,000 eligible requests with a 99.9% success target. There are 250 failures. The allowed failures are 1,000, so 25% of the budget has been consumed and 750 remain.
1. Define eligible events
Specify which requests and outcomes count. Excluding a critical endpoint can hide a broken user journey. Keep definitions stable and disclose changes. Request-based reliability is not the same as minutes of downtime; a low-traffic outage can affect those measurements differently.
2. Check the denominator
Allowed failures equal eligible requests multiplied by one minus the target fraction. When combining groups, do not average percentages with unequal denominators without an explicit weighting policy. Ten requests and a million requests do not contribute equally to a request-weighted result.
3. Use context
Consumption measures reliability, not root cause or release safety. Review trends, dependencies and user journeys. An error-budget policy should define actions before an incident; changing the target afterward to make a dashboard green destroys comparability. A fixed-window calculation does not predict future traffic or failures.
Practice with EmuPath
Check the primary reference
Examples are educational scenarios. Verify the current documentation and your own environment before changing a real system.