StoicBuilder

HandbookXII the SpeculaError budgets

XIIthe Specula, Watch production

Error budgets

1 min readUpdated 28 November

In plain words

An error budget is the amount of failure your SLO permits, such as 0.1 percent of requests over 28 days; while budget remains you ship freely, and when it runs out reliability work comes first.

Where you see it

Harbor's checkout SLO is 99.9 percent, so of 4 million checkout requests in a window, 4,000 may fail. Two bad deploys use 3,600 of them by day 10, and the team agreed in advance that risky billing changes pause until the budget recovers.

Error budget, checkoutconfig
SLO 99.9% of checkout requests succeed, 28 daysRequests 4,000,000Budget 0.1% = 4,000 failed requestsSpent 3,600 (90%) by day 10Burn rate 90% used in 36% of the window = 2.5xPolicy over 75% spent: freeze risky billing deploys
The budget turns 99.9 percent into a count of failures, and the policy says what happens when it's spent.

What goes wrong

  1. A budget with no policy

    If running out changes nothing, the budget is only a chart. Agree with product beforehand what happens at 50, 75 and 100 percent spent.

  2. Treating spare budget as a score

    A month at 100 percent may mean you're shipping too cautiously. Unspent budget is permission to take reasonable risks, such as a faster rollout or a bigger migration.

  3. Forgetting planned downtime counts

    Downtime you scheduled still counts if users feel it. A 30-minute maintenance window uses three quarters of a 28-day budget at 99.9 percent, so plan changes that need no downtime.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Using our SLO targets and request counts, calculate the error budget for each SLO in requests and in minutes, how much we've spent so far this window, and the current burn rate. Then draft a one-page error budget policy with agreed actions at 50, 75 and 100 percent spent.

Quick check

Sign in to earn +10 XP for it

Harbor's API has a 99.9 percent availability SLO over 28 days. About how much total downtime does that allow?

Got a prompt that touches error budgets?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.