Your company has no SLOs. A VP asks you to introduce them. Where do you begin?
BeginnerScenarioSLOs and Error Budgets
Answer
Situation read → SLOs are a reliability contract between engineering and the business. Start small with one user journey.
What I'd do →
- Pick one critical user journey (e.g. "user can log in", "checkout succeeds").
- Define an SLI that measures it from the user's view: good events / valid events.
- Look at 4 weeks of historical data to set a realistic target (e.g. 99.5%), not an aspirational 99.99%.
- Agree the target and an error budget policy with product.
- Build a dashboard and burn-rate alerts, then expand to more journeys.
Why → One well-adopted SLO beats 50 ignored ones.
Interview tip → Explain SLI (measurement), SLO (target), SLA (contract with penalties) in one line each.
More on SLOs and Error Budgets
Choose an SLI for a REST API: availability measured at the pod, the load balancer, or the client?IntermediateThe product owner wants a 99.99% SLO for a service that depends on a database with 99.95% availability. What do you say?IntermediateThe error budget for the month is exhausted on day 18. What happens now?IntermediateWrite an SLO in a declarative tool so teams do not hand-write burn-rate rules.AdvancedLatency SLO: "99% of requests under 300 ms." How do you measure it correctly in Prometheus?IntermediateA service has 20 requests per hour overnight. One failure blows the SLO alert. How do you handle low-traffic services?Advanced