SLO burn-rate alert: "Short = long ÷ 12 in every suggested pair" is wrong for the fast preset (1h / 10m)
Summary
On the SLO burn-rate alert form, the suggested-preset cards carry the note "Short = long ÷ 12 (Google SRE workbook) in every suggested pair." That is not true for the fast preset: it shows 1h long / 10m short (÷6), while mid (6h / 30m) and slow (24h / 2h) are ÷12.
Why it happens
web/src/components/slos/SloAlertCondition.vue defines the fast preset with a 5m short window (["fast", …, 3600, 300]), then snaps every short window to the SLO's slice_interval_secs (at least two slices, per SA-8). On an SLO with a 5-minute slice, the fast preset's 5m becomes 10m, so the ratio is no longer long ÷ 12. The static string slos.alert.shortIsLongOverTwelve doesn't account for the snapping.
The companion note slos.alert.maxBurnNote ("Default short = long ÷ 12 → {short}") is computed as long / 12 (~L401), so it can also disagree with what the card actually saves.
Expected
The helper text matches the windows on the cards. Options:
- Say "short ≈ long ÷ 12, rounded up to at least two slices", or
- Show the actual ratio per card, or drop the "every suggested pair" claim, and
- Compute
maxBurnNote's{short}from the samesnapWindow()result the cards use.
Notes
- Observed on v1.0.0-rc1 Enterprise (build 2026-09-28), on an SLO with a 7-day window and 5-minute slices.
- The i18n string appears in every locale file (e.g.
en-US.jsonL16606, L16616), so all translations need the same fix. - Found while recording the product-tour screencast (Chapter 15, SLOs and error budgets).
Source: openobserve/openobserve