~/talk

Practical Anomaly Detection at Scale With PromQL

Talkat PromCon EU 2024 · 2024-09-11..09-12· [observability]
links:none on file
slides:none on file

Grafana Labs builds an anomaly system implemented entirely in PromQL recording rules that runs at scale in production and is being rolled out to customers. It creates per-service baselines for USE/RED and tagged metrics using a 1-hour midline / 26-hour stddev pattern, multiplies stddev by 2, uses a coefficient‑of‑variation threshold (~50% of the mean) as a high‑pass filter, combines short/long/seasonal bands, exposes alerts as events (not paged) and ships the rules and dashboards open source with an asserts_anomaly="gauge" label.

AI-written summary · about

  1. 0:00Introduction to anomaly detection
  2. 3:36Building the basic model
  3. 7:33Handling extreme outliers
  4. 9:53High pass filtering technique
  5. 12:14Addressing discontinuities
  6. 13:20Incorporating seasonality
  7. 14:24Implementing the framework
  8. 17:43Troubleshooting with anomalies
  9. 20:57Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.