One team measures its SLO per calendar month and another over a rolling 30 days. How do the two behave differently, and which would you recommend?
Sketch your own answer first, then compare it with the one below.
A strong answer
A calendar window resets. On the first of the month the budget is full again, whatever happened on the 30th. That is easy to report and it matches how business reviews and contracts work, but it distorts behaviour. A team that has burned its budget by the 20th gets ten days of freeze, and a team that starts the month clean may take big risks on day one. A large outage on the last day of a month is forgotten the next morning, even though users are not so forgetful.
A rolling window never resets. Each day the oldest day drops out and a new one enters, so an incident stays in the budget for the whole window and then leaves on the day it ages out. Budget returns gradually, which better matches how users remember. The drawbacks are that the number moves daily and is harder to explain to people outside engineering.
The Workbook recommends rolling windows because they track user experience, and defines them as a whole number of weeks, so every window has the same count of weekends and weekdays. It suggests four weeks as a good general-purpose length. I would take a four-week rolling window for engineering decisions, and add calendar-month summaries for finance or customer reports, derived from the same data.
Sources
- Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara, Stephen Thorne (2018). The Site Reliability Workbook, chapter: Implementing SLOs.