A dependency (third-party payment API) causes most of your SLO burns. Should it count against your budget?
IntermediateScenarioSLOs and Error Budgets
Answer
Situation read → Users do not care whose fault it is, but the team needs actionable data.
What I'd do →
- Keep it in the user-facing SLO; users still felt it.
- Track a separate SLI for the dependency (calls to the provider: success and latency).
- Invest in mitigation: retries with backoff, timeouts, circuit breaker, fallback provider, queueing.
- Use the data in vendor SLA discussions.
Why → Excluding dependencies hides real user pain and removes the incentive to design for failure.
Interview tip → "You own your users' experience, including your dependencies."
More on SLOs and Error Budgets
Your company has no SLOs. A VP asks you to introduce them. Where do you begin?BeginnerChoose 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?Intermediate