SLO to Prometheus burn-rate alert rules

Enter an SLO and your request metric. You get the error budget and multi-window, multi-burn-rate alerts as a Prometheus rules file or a PrometheusRule for the Prometheus Operator.

Common questions

How much downtime does a 99.9% SLO allow?

Over 30 days, 99.9% allows 43.2 minutes of full downtime, 99.95% allows 21.6 minutes and 99.99% allows about 4.3 minutes.

What is a burn rate?

How fast you are spending the error budget. A burn rate of 1 uses exactly the whole budget by the end of the SLO window. A burn rate of 14.4 over one hour spends 2% of a 30-day budget.

Why use two windows in one alert?

The long window shows that a real part of the budget has gone. The short window shows that it is still happening, so the alert stops soon after the problem does.

Which windows and burn rates does it use?

For a 30-day SLO: 14.4 over 1h and 5m, and 6 over 6h and 30m to page; 3 over 1d and 2h, and 1 over 3d and 6h to open a ticket. They follow the “Alerting on SLOs” chapter of the Google SRE Workbook.

More free tools

  • Pod Doctor: Why is my Kubernetes pod Pending, CrashLoopBackOff, ImagePullBackOff or OOMKilled? Paste kubectl describe pod and get the cause and the next commands. Free, runs in your browser.
  • Cert Inspector: Paste PEM certificates to check expiry, SANs and keys, find a missing intermediate or wrong chain order, and get the fixed bundle. Runs in your browser, nothing is uploaded.
  • Take-home Salary: Calculate your monthly take-home salary in Sri Lanka after EPF and APIT tax, see employer EPF and ETF, and compare up to three job offers. Uses the IRD tax table.
  • Loan True Rate: Convert a flat interest rate to the real yearly rate. See what a loan or vehicle lease really costs, including fees, and compare offers side by side.
  • Trip Splitter: Split group trip expenses. Add who paid for what and get a short list of transfers to settle up. No sign-up, one share link.

By Yohan Senadheera, Site Reliability & DevOps Engineer · All tools