Try
↑ ↓ move↵ openesc close
In this lesson · topic 1 of 7
  1. 1. Why "is it up?" is the wrong question
  2. 2. Burn rate and multi-window alerts
  3. 3. Thirty days of outage, leak and noise
  4. 4. When the page is late, noisy or stuck open
  5. 5. Your SLO cannot beat your dependencies
  6. 6. When one failed request is a page
  7. 7. Burn rate 10, two windows, three-minute bursts

Topic 1

Why "is it up?" is the wrong question

4 min read

Up is not a measurement

A health check says the service answered. It does not say that most requests succeeded, or that they were fast, or that the failures were spread thin instead of landing on one customer. Every real service fails a little all the time, and nobody can promise it will not.

So the question becomes how much failure is acceptable. That is a decision about users and about cost. Reliability that is expensive to add and that nobody notices is wasted, and perfect reliability is impossible to buy. Once you agree on a number, you can measure against it and stop arguing.

Indicators, objectives and budgets

Three terms keep this straight.

A service level indicator, or SLI, is a measurement of one aspect of service quality, normally a ratio of good events to all events. For example, the share of requests answered with a success status in under 300 ms.

A service level objective, or SLO, is a target for that ratio over a period. For example, 99.9 percent of requests good over 30 days.

An error budget is what the objective leaves you. If 99.9 percent must be good, then 0.1 percent may be bad. At 1000 requests a minute for 30 days, that is 43,200measured failed requests, or the equivalent of 43.2 minutesmeasured of total outage.

The budget changes how people behave. It is the amount of failure the service is allowed to spend: on a risky release, on a migration, on bad luck. When it is full, the team can take risk. When it is nearly gone, the team slows down and fixes reliability. The decision no longer depends on who argues louder.

Predict first

A service has a 99.9 percent SLO over 30 days. A total outage lasts ten minutes. What share of the month's error budget does it use?

What the lab shows

In the lab, a ten-minute total outage uses 23.1%measured of the whole 30-day budget. The service also has a low steady error rate, a slow burn, and short noisy bursts spread over the month, and by day 30 the budget is 76%measured spent.

The next topic is about the hard part: knowing, fast enough to act and quietly enough to sleep, that the budget is going.

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms