An SLO of 99.9% over 30 days says that 0.1% of the requests may fail. That share is the error budget: one minus the SLO. The SRE book gives it a job. While there is budget left, new releases can go out, and when failures have spent it, releases are halted until the service is back within its target. The budget turns an argument about whether reliability or features matter more into a number both sides can read.
The Workbook adds that, once an SLO is set, a team needs a written policy for what happens when the budget is gone. Typical actions are to put reliability work first or to freeze deployments until the service is back within its objective.
The budget is only useful if you can tell how fast it is going. That is the burn rate: the error rate divided by the error rate the SLO allows.
burn rate = share of requests failing ÷ (1 − SLO)
A burn rate of 1 spends the budget exactly over the window. The Workbook’s definition is the speed at which the service consumes the budget relative to the SLO, and for a 99.9% SLO over 30 days, a 0.1% error rate is a burn rate of 1. A burn rate of 10 empties the budget in a tenth of the window. So, if the rate lasts, the budget is gone in 30 days ÷ burn rate.
The lab shows the budget for the incident you pick. Read Error budget under What users feel. SLO target is set to 99.9%, so The budget is 43.2 minutes of complete outage, the figure from the previous lesson. Burn rate puts the incident’s failing share against the 0.1% allowed, and Budget gone in applies the formula above.
Something is wrong in the shop, and you can only see what the monitoring shows: dashboards for each service, a trace of one request, and the error budget. Find the component that is the cause.
What users feel
Traffic entering the shop
300 requests/snormal: 300 requests/s≈ About normal
Time to answer
mean 71 ms · p95 184 ms · p99 267 msnormal: mean 41 ms · p95 126 ms · p99 197 ms≈ About normal
Requests that fail
0.00215% of requestsnormal: 0.00215%≈ About normal
The mean is exact. The p95 and the p99 are estimates from a gamma fit (see the model notes).
Error budget
The share of requests that must succeed over 30 days.
The budget
43.2 min of complete outageThe share of requests that must succeed over 30 days.
Burn rate
0.02×0.00215% of requests fail, against the 0.1% the SLO allows.
Budget gone in
It lasts the whole windowA burn rate of 1 spends the budget exactly over the 30 days.
○ This does not page: the burn rate is under 14.4×.
Only failed requests spend the budget. A request that is slow but succeeds does not, so a slowdown can hurt users and leave the budget untouched.
Alerts
A symptom alert watches what users feel, so it fires whatever the cause. A cause alert watches one component for one failure that someone expected: it names the component, but only when that failure is the one happening.
Symptom alerts firing: 1. Cause alerts firing: 0.
Alert rules, and whether they fire now
Alert
Kind
Fires when
Now
Status
Error budget burning fast
Symptom
the burn rate is 14.4× or more
0.02×
○ Quiet
Whole request slow
Symptom
the p95 is above 150 ms
184 ms
● Firing
Shop application saturated
Cause
it is at 80% of its capacity or more
38%
○ Quiet
Shop application failing
Cause
1% of its calls or more fail
0%
○ Quiet
Product database saturated
Cause
it is at 80% of its capacity or more
60%
○ Quiet
Product database failing
Cause
1% of its calls or more fail
0%
○ Quiet
Payment provider saturated
Cause
it is at 80% of its capacity or more
2%
○ Quiet
Payment provider failing
Cause
1% of its calls or more fail
0.0431%
○ Quiet
Email delivery service saturated
Cause
it is at 80% of its capacity or more
2%
○ Quiet
Email delivery service failing
Cause
1% of its calls or more fail
0%
○ Quiet
Services: the four golden signals
Each card is one service’s dashboard, now against normal: the same system with no incident, at its usual traffic. ▲ and ▼ mark a figure well above or below normal.
Shop application
Latency
p95 60 msp50 14 ms · p99 92 ms · normal p95 60 ms≈ About normal
Traffic
300 calls/snormal 300≈ About normal
Errors
0% of calls failnormal 0%≈ About normal
Saturation
38% of capacityqueue 0 of 400 · normal 38%≈ About normal
Time in the service itself, not counting the calls it makes.
Time to answer, counting the calls it makes: 71 ms (normal 41 ms)
Failures as its callers see them: 0.00215% (normal 0.00215%)
Product database
Latency
p95 120 msp50 28 ms · p99 184 ms · normal p95 30 ms▲ Higher than normal
Traffic
300 calls/snormal 300≈ About normal
Errors
0% of calls failnormal 0%≈ About normal
Saturation
60% of capacityqueue 0 of 125 · normal 15%▲ Higher than normal
Time in the service itself, not counting the calls it makes.
Failures as its callers see them: 0% (normal 0%)
Payment provider
Latency
p95 300 msp50 69 ms · p99 461 ms · normal p95 300 ms≈ About normal
Traffic
15 calls/snormal 15≈ About normal
Errors
0.0431% of calls failnormal 0.0431%≈ About normal
Saturation
2% of capacityqueue 0 of 10000 · normal 2%≈ About normal
Time in the service itself, not counting the calls it makes.
Failures as its callers see them: 0% (normal 0%)
Email delivery service
Latency
p95 180 msp50 42 ms · p99 276 ms · normal p95 180 ms≈ About normal
Traffic
15 calls/snormal 15≈ About normal
Errors
0% of calls failnormal 0%≈ About normal
Saturation
2% of capacityqueue 0 of 5000 · normal 2%≈ About normal
Time in the service itself, not counting the calls it makes.
Failures as its callers see them: 0% (normal 0%)
Trace of a request
A trace follows one request through the services, with one span for each. Each span is the mean time the engine gives for that service; real spans vary from request to request.
A usual request: 61 ms in all (normal 31 ms)
Service
Calls
Starts at
On the wire
In the service
Share
Timeline
Shop application
1
0 ms
—
20 ms
33%
Product database
1
20 ms
1 ms
40 ms
67%
The spans add up: 20 ms in Shop application + 1 ms on the wire to Product database + 40 ms in Product database = 61 ms.
A checkout request: 256 ms in all (normal 226 ms) It also calls the services that only some requests call.
Service
Calls
Starts at
On the wire
In the service
Share
Timeline
Shop application
1
0 ms
—
20 ms
8%
Product database
1
20 ms
1 ms
40 ms
16%
Payment provider
1
61 ms
25 ms
100 ms
49%
Email delivery service
1
186 ms
10 ms
60 ms
27%
The spans add up: 20 ms in Shop application + 1 ms on the wire to Product database + 40 ms in Product database + 25 ms on the wire to Payment provider + 100 ms in Payment provider + 10 ms on the wire to Email delivery service + 60 ms in Email delivery service = 256 ms.
A service called several times is drawn as one row, with its number of calls.
Weighted by how often each call is made, the spans average 71 ms over all requests. The engine’s mean is 71 ms: they agree.
Your diagnosis
Illustrative values, not benchmarks of any real product.
Model notes
Assumptions
Requests arrive at random, as a Poisson process, at a constant average rate.
Each node is one queue, served first-come first-served by several identical slots (instances × concurrency).
Service times are random with the stated mean; by default they are exponentially distributed.
Each node is analysed separately, with the traffic it receives treated as Poisson.
The dashboards show a steady state at the traffic shown, not a time series. “Normal” is the same system with no incident, at its usual traffic.
The shop application calls the product database on every request, and the payment provider and the email service on 5% of them (checkout). The calls are made one after another.
Simplifications
Above capacity there is no steady state. The model switches to a fluid approximation: the node serves at capacity, its queue grows until it reaches its limit, and further requests are rejected.
Percentiles assume an exponential tail. A service-time variability other than exponential changes the mean wait but not the shape of the tail.
A node frees its slot as soon as it has done its own work, before waiting on the services it calls. Real thread-per-request servers hold the slot, so a slow dependency exhausts them faster than this model shows.
A request calls its dependencies one after another. Parallel fan-out is not modelled.
When a caller times out and gives up, the callee still finishes the work, so abandoned requests keep consuming capacity.
Retries add load. Their backoff and jitter decide when that load arrives, which only the per-request simulation shows.
Retry feedback is solved from the healthy starting point, so it finds one stable outcome. Systems that stay stuck in overload after the cause is gone are not shown.
A throughput limit (for example maximum writes per second) is modelled as slower service, not as a separate rate limiter.
A caller’s timeout counts the mean time its dependencies take, not their full distribution.
Latency percentiles for a whole request are estimated, over every request, including those that are rejected and fail quickly. The mean is exact, and the percentiles come from a gamma distribution that has that mean and the variance of the time spent in each component.
A trace shows averages, not one random request: each span is the mean time the engine gives for that service, a service does its own work first, then makes its calls. Real spans differ from request to request.
The error budget treats the error rate shown as if it lasted for the whole 30 days. It is a rate of spending, not a record of what has been spent.
Only whole-request errors count against the budget, so a slowdown that causes no errors does not move it. The whole-request median is not shown: a gamma fit is poor when a small share of requests is much slower than the rest.
Parameter values are illustrative. They are not benchmarks of any real product.
Start with Incident 2. Requests that fail is 1.65% of requests. Against the 0.1% allowed, Burn rate is 1.65 ÷ 0.1, which is 16.5×, and Budget gone in is 30 ÷ 16.5, which is 1.82 d. The lab marks it as one that pages the on-call, because the burn rate is above 14.4×.
Now change SLO target to 99%, with the same incident. The allowance is 1%, so Burn rate is 1.65 ÷ 1, which is 1.65×, Budget gone in is 18.2 d, and it does not page. The users have the same 1.65% of failures in both. What changed is what the team promised. At 99% the incident is a problem for the next two weeks, and at 99.9% it is a problem for tonight.
Choose Incident 3 with SLO target at 99.9%. 12.6% of requests fail, which is 12.6 ÷ 0.1, a burn rate of 126×, and Budget gone in shows 5.71 h: 30 ÷ 126 days. Set SLO target to 99.99% and the burn rate is 1,260×, with Budget gone in at 34.3 min.
Incident 4, at 99.9%, gives a burn rate of 111.1× and a budget gone in 6.48 h. Both are far past the threshold, for different reasons that the module’s last lesson takes apart.
The lab pages at a burn rate of 14.4× or more. That number is from the Workbook’s alerting chapter, and it is not arbitrary. The share of the budget that an incident spends is its burn rate times the length of time, divided by the window:
budget spent = burn rate × time ÷ window
An hour is 1 ÷ 720 of a 30-day window, because 30 × 24 = 720. At a burn rate of 14.4, one hour spends 14.4 ÷ 720, which is 2% of the monthly budget. The Workbook picks 2% in an hour as a level that deserves a page, and its table of starting parameters follows from the same formula: a burn rate of 6 over 6 hours spends 6 × 6 ÷ 720, which is 5%, and a burn rate of 1 over 3 days spends 1 × 72 ÷ 720, which is 10%. The first two page and the third opens a ticket.
Apply it to Incident 3 at 99.9%. At a burn rate of 126×, one hour spends 126 ÷ 720, which is 17.5% of the month’s budget. At Incident 2’s 16.5×, one hour spends 16.5 ÷ 720, which is 2.3%: just above the paging line, and in a day it would spend more than half the budget.
Check your understanding: error budgets and burn rates
This quiz needs JavaScript to check your answers.
What happens if the slowdown does not fail anything?
Choose Incident 1 and read Burn rate. At 99.9% it is 0.02×, and Budget gone in says that it lasts the whole window. In this incident the Product database is four times slower and the whole request takes a mean 71 ms against 41 ms, yet Requests that fail is at its normal 0.00215%. Nobody got an error, so no budget was spent.
The note under the budget in the lab says it plainly: only failed requests spend this budget, and a request that is slow but succeeds does not. That is a property of the SLI this lab uses, an availability SLI. A latency SLI, as defined in the previous lesson, counts a request slower than its threshold as a bad event, and it would spend budget in Incident 1. Choosing the SLIs is choosing what the budget can see. A team with only an availability SLO can have unhappy users and a full budget.
The error budget is one minus the SLO: 0.1% of requests at 99.9%, or 43.2 minutes of complete outage over 30 days.
The burn rate is the failing share over the allowed share. A burn rate of 1 spends the budget exactly over the window, and the budget lasts 30 days ÷ burn rate.
Incident 2 fails 1.65% of requests: a burn rate of 16.5× at 99.9%, with the budget gone in 1.82 d, and 1.65× at 99%, with the budget gone in 18.2 d.
Incident 3 fails 12.6%: 126× at 99.9%, which is 5.71 h, and 1,260× at 99.99%, which is 34.3 min.
A burn rate of 14.4 spends 14.4 ÷ 720, which is 2% of the budget in an hour. That is the Workbook’s page level.
The same incident can page at one target and not at another, since the budget is a promise.
Only failed requests spend an availability budget. Incident 1 has a burn rate of 0.02× while users wait longer.