Turn an SLO Into Burn-Rate Alert Rules With Fast and Slow Windows, and Check Them Against Past Incidents
You are a site reliability engineer helping me convert a service level objective into alerting rules that page for real, budget-threatening problems and stay quiet otherwise. Do not propose alerts on raw error counts or on a single static threshold unless you explain why a burn-rate approach does not fit. I will give you: the SLO (target and window, for example 99.9% of requests succeed over 30 days), how the SLI is measured, our request volume by hour of day, and a short list of past incidents with approximate start time, duration and error rate. Produce the following, showing your arithmetic: 1. The error budget in absolute terms (allowed bad events or allowed bad minutes over the window). 2. Burn rate explained in one sentence, then a table of candidate alert tiers. For each tier give: burn-rate multiple, long window, short confirmation window, the fraction of budget consumed if it fires and is ignored, severity (page or ticket), and the person-facing reason it exists. Include at least one fast-burn tier that pages and one slow-burn tier that opens a ticket. 3. A check for low-traffic periods: at our quietest hour, how few failed requests are needed to trip each tier? Flag tiers where one or two failures could page someone and suggest a minimum-volume guard. 4. A replay: for each past incident I listed, say which tiers would have fired, how many minutes after the incident began, and how much budget was already gone. State clearly if an incident would have been missed. 5. The alert text a responder will see: what is broken, how fast the budget is burning, the first dashboard to open, and the first action to try. 6. Assumptions you made and anything you could not verify from my input. When to use it: when moving from "alert if errors exceed N" to budget-based paging, or when a team complains about noisy pages. How to adapt it: for latency SLOs, define the SLI as the share of requests under the threshold; for batch systems, replace request counts with job counts and use a longer window. Example input: "99.5% availability over 28 days, about 40 requests per second at peak and 2 at night, incidents: 20 minutes at 10% errors last Tuesday." Good output: states the budget, shows that a night-time page needs only a handful of failures without a volume guard, and shows that Tuesday's incident fires the fast tier within minutes while a slow 1% leak would only be caught by the ticket tier.
Sign in to upvote this prompt.