Log inStart free
LESSON 33.16 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

SLOs, error budgets and availability

Watch one month of failed requests spend an error budget.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 33.16 · SLO BAY4,703 FAILED · ERROR RATE 0.32%
01
Stage 1 of 5 · Requests and errors
The API gets 1,466,580 requests in 30 days. 4,703 fail, so the error rate is 0.32%.
Explain it simply

The top bars count the requests of each day, and weekends are quieter. The bars under them count the requests that fail. A few fail every day. Day 9 has an outage and day 17 has a bad deploy.

Thirty daily bars of requests, then thirty bars of failed requests. Day 9 has 3,972 failed and day 17 has 464. The error rate is 0.32%.

requestsfailures, down minutesuptime, availabilitySLO, SLA, error budget
requests a dayfailed requests a day70k0day 15913172125303,972464one month of one chat APIerror rate = 4,703 / 1,466,580 = 0.32%requests a dayfailed requests a day70k0day 15913172125303,972464one month of one chat APIerror rate = 4,703 / 1,466,580 = 0.32%
Toy: 30 days of one chat API, minute by minute (seeded)
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
e=FN\sy{e}{grad}{e} = \dfrac{\sy{F}{grad}{F}}{\sy{N}{data}{N}}
e=4,703/1,466,580=0.32%e = 4{,}703 / 1{,}466{,}580 = 0.32\%

The error rate is failed requests over all requests.

Common mix-ups

MYTHUptime and availability are the same number.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If the 60-minute outage starts at 03:00, does the month still meet the 99.9% SLO?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.