What window should an SLO use: rolling or calendar?
IntermediateConceptSLIs, SLOs & SLAs
Answer
- Rolling window (for example 28 or 30 days): always reflects the recent past, so a bad day affects decisions for a month and then ages out. Best for operational decisions and alerting.
- Calendar window (monthly, quarterly): resets on a fixed date, aligns with SLAs and business reporting, but encourages "we have budget left at month end, ship everything."
We use a rolling 28 days for engineering (four whole weeks, so each weekday appears equally often) and a calendar month for SLA reporting.
More on SLIs, SLOs & SLAs
Define SLI, SLO and SLA with an example of each.BeginnerWhy should the SLA be looser than the SLO?BeginnerWhy are SLIs best expressed as a ratio of good events to valid events?IntermediateWhat is the difference between request-based and time-based (window-based) SLIs?AdvancedWhere should you measure an SLI, and what are the trade-offs?AdvancedWhat types of SLIs exist beyond availability and latency?Intermediate