Lab · Reliability

SLOs, error budgets & alerting

A service with a 99.9% SLO. Break it in different ways and see what percentiles, burn rates and error budgets show that averages and simple thresholds miss. Time is compressed: one simulated second is five real minutes.

Try it

Lab time 3.0 s
Users, 100 req/sUsers100 req/sAPI service, SLO: 99.9% good · < 300 msAPI serviceSLO: 99.9% good · < 300 msp99 154 msBackend, one call per requestBackendone call per request

The lab is busy, so only some requests are drawn as dots, few enough to follow. The numbers still count every request.

  • Users — 100 req/s — healthy
  • API service — SLO: 99.9% good · < 300 ms — healthy — p99 154 ms
  • Backend — one call per request — healthy
  • Request/response
  • Request
  • Error / rejected
Simulated time
15 min
1 s on screen = 5 min
Mean latency
57 ms
50 ms
154 ms
SLO line: 300 ms
Slower than the line
0.0%
share of the last 10 minutes
Extra calls from hedging
0.0%
hedging is off
Error rate (5 min)
0.0%
Burn rate (1 h)
0.9×
1× spends the budget in exactly 30 days
Error budget left
100.0%
this 30-day period
Budget runs out in
> 60 days
at the last 6 hours' rate

Numbers add up:finished 272 = good 272 + bad 0 (failed 0 + too slow 0); 4 in flightThe lab checks this sum as it runs, so a counting mistake would show here.

Controls

Incidents

One at a time. The blip ends by itself.

Service
1

A call with no answer after about the usual p95 gets a second copy; the faster answer wins.

300 ms
100/s

Alerts

  • QuietError rate > 5% (5 min)0 pages
  • QuietFast burn: 14.4× over 1 h and 5 min0 pages
  • QuietSlow burn: 6× over 6 h and 30 min0 pages
Latency (ms): mean vs percentiles
Meanp50p99SLO line
01252503755003 min8 min15 min
Show data table
TimeMeanp50p99
3 min52.848.5155
5 min52.447.4162
8 min55.648.6162
10 min56.748.8154
13 min57.148.8154
15 min5750.2154
Burn rate (× the sustainable rate)
5 min1 hourFast-burn line
051015203 min8 min15 min
Show data table
Time5 min1 hour
3 min00.9
5 min00.9
8 min00.9
10 min00.9
13 min00.9
15 min00.9
Error budget used this period (%)
00.30.50.813 min8 min15 min
Show data table
TimeUsed
3 min0
5 min0
8 min0
10 min0
13 min0
15 min0

What just happened

Nothing yet. Start traffic or run an experiment.

What this model simplifies
  • Time is compressed: one simulated second stands for five minutes, so a 6-hour alert window is 72 seconds on screen. The service has six hours of normal history when the lab starts.
  • Alert windows and burn-rate thresholds (14.4× over 1 h and 5 min; 6× over 6 h and 30 min) follow the multi-window, multi-burn-rate pattern in Google's SRE workbook. Tune them for your own SLO and traffic.
  • The monthly budget assumes today's traffic rate all month. Real error budgets are computed from actual request counts.
  • Backend latency is log-normal with a fixed median. Real services have daily cycles, deploys and noisy neighbours that make baselines harder.
  • One service and one SLO. Real systems have SLOs per user journey and correlated failures across services.