promtool check rules rules/slo-burn-alerts.yamlDesign burn rate alerts that do not wake people up for sport
How to build steadier SLO alerts when metrics, labels, and rule behavior keep shifting underneath you.
Recent Prometheus, OpenTelemetry Collector, Loki, and Alloy releases all point to the same uncomfortable truth: alerts wired straight to raw metrics and fragile labels become noisy or broken very easily. This guide shows how to anchor burn-rate alerts on stable recording rules, validate them with promtool, and roll them out without turning every short spike into a fake emergency.
Created: April 22, 2026
Published: April 22, 2026
Linux
Typical validation flow on a Linux host with local promtool and HTTP access to Prometheus.
curl -sG http://prometheus:9090/api/v1/query --data-urlencode 'query=job:slo_error_ratio:rate5m{job="api"}' | jq .curl -sG http://prometheus:9090/api/v1/query --data-urlencode 'query=job:slo_error_budget_burn_rate_1h{job="api"}' | jq .Content locked
This guide requires both steps before full content is available.
- ○Click “Like” on this guide.
- ○Share on WhatsApp, X, LinkedIn, or copy the link.
Access is automatically unlocked as soon as both steps are completed.