~/talk

Practical Anomaly Detection using Prometheus

Talkat Monitorama PDX 2019 · 2019-06-03..06-05· [observability, web-performance]
slides:none on file

Uses Prometheus recording rules and PromQL to flag anomalies by computing z-score over a week (~10k samples) from avg_over_time and stddev_over_time, applied at the service level by aggregating job+environment so anomalies remain attributable. Adds a seasonal predictor using offsets (166h) and a three-week quantile median to avoid holiday distortion (offset 166h seasonal prediction). Works in production on GitLab traffic (reliable at ~150 RPS and up), and routes signals to Slack as non-paging alerts.

AI-written summary · about

  1. 0:00Introduction to anomaly detection
  2. 1:09Why anomaly detection matters
  3. 3:18Choosing the right aggregation level
  4. 5:06Quick stats recap on distributions
  5. 7:15Calculating Z-scores in Prometheus
  6. 9:21Visualizing anomaly boundaries
  7. 10:23Testing for normal distributions
  8. 12:04Leveraging seasonality in metrics
  9. 15:16Predicting seasonal values
  10. 17:28Combining multiple predictions
  11. 19:16Adapting Z-scores for seasonality
  12. 20:46Setting alert thresholds
  13. 21:28Presenting anomaly data in dashboards
  14. 22:31Key takeaways and conclusion
  15. 23:13Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.