How do planned maintenance windows interact with SLOs?
IntermediateConceptSLIs, SLOs & SLAs
Answer
Two schools: exclude announced maintenance from the SLI (common in SLAs), or count it against the error budget (the SRE preference). Counting it is more honest, because users still could not use the service, and it creates an incentive to make maintenance zero-downtime. If you exclude it, define exactly how (a maintenance flag metric, or a recording rule that multiplies by a maintenance == 0 series) so it cannot be abused.
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