Your SLO window is calendar month. Should you use a rolling 28/30-day window instead?
IntermediateScenarioSLOs and Error Budgets
Answer
Situation read → Calendar windows reset on the 1st; rolling windows reflect recent reality continuously.
What I'd do →
- Use a rolling window (28 or 30 days) for operations and alerting; behaviour on the 2nd is the same as on the 29th.
- Use calendar windows for SLA reports and contracts.
- A 28-day window has an equal number of weekdays and weekends, reducing weekly seasonality.
Why → Calendar resets create perverse incentives ("budget refills tomorrow, ship it").
Interview tip → Mention the 28-day choice and why.
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