Menu

Error budgets and burn rates explained with code: what 14.4 means, and a maintenance-window bug
📰

Error budgets and burn rates explained with code: what 14.4 means, and a maintenance-window bug

DEV Community: typescript·Ali Ahmed·about 1 hour ago
#RuVH4TmT
#devtotypescript#devto#dev#budget#rate
Reading 0:00
15s threshold

Video: Error budget and burn rate, visualised

An error budget is the amount of failure your SLO allows: a 99.9% target over 30 days allows 0.1% of that time, which is 43.2 minutes . Burn rate is how fast you're spending it: a burn rate of 1 uses the whole budget exactly by the end of the window, and a burn rate of 14.4 sustained for one hour spends 2% of a 30-day budget , which is the usual threshold for paging someone. Below is how I compute both in Kestrel , a small synthetic-monitoring console I built ( source ), and a mismatch I found where the two calculations treat planned maintenance differently.

What is an SLO, in numbers?

SLI (indicator): what you measure. In Kestrel, the fraction of HTTP checks that succeeded.

SLO (objective): the target for it over a window, such as 99.9% over 30 days.

Error budget: 1 − target , as a share of the window.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.