“The system must be available” does not tell us what a user experiences or when a team should change priorities. An SLI, an SLO and an error budget turn a broad reliability goal into a measurement and a decision. Start with an important user action; choose the percentage afterwards.
Three terms with different jobs
- SLI (service level indicator) measures the proportion of good events among the events we agreed to count. It might track orders completed successfully within an agreed time.
- SLO (service level objective) sets a target for that SLI in a defined window, such as 99.9% over a rolling four weeks.
- Error budget is the number or share of events that may fail the objective during that window. An SLA is a separate commitment to a customer, often with contractual consequences.
What exactly counts?
In this example, a “good” event could be an order confirmation returned within an agreed two seconds of a valid request. Specify where you measure, which attempts qualify, and how you treat user cancellations, retries, invalid input and missing telemetry. Without an explicit denominator, you can improve a chart by excluding difficult cases while the customer experience stays the same.
A measurement at the boundary of the user journey can be more useful than the availability of individual services. Payment and inventory APIs might each look healthy while too many checkouts fail end to end. CPU and pod counts help diagnose a problem, but cannot stand in for the user outcome.
How does the budget inform a decision?
- Agree on the critical journey, SLI definition, realistic target and measurement window with the product owner. Review historical data and instrumentation quality.
- Write down a response policy with the team: who investigates rapid budget consumption, when risky releases are slowed, and when resilience work gets priority. No single threshold is a universal policy.
- After an incident, separate cause from effect. Check whether a slow dependency, retries, shared capacity or faulty measurement actually accounts for lost “good” events. Choose an architecture change only after that investigation.
Project question: can you name one critical user action, count its failures from trustworthy data and explain which decision would change if the budget burned quickly?
Discuss this article
Share a constructive observation or an anonymised example. Comments are checked by AI before publication. Uncertain cases go to the moderator.