Problem
A company monitors many metrics across engineering, business and operations. Their series differ in shape, so one detector with one parameter set rarely works, and manual tuning does not scale. Detection must also keep up with high throughput in near-real time. When an alert fires, finding the series that explains it takes long manual digging.
Example from the article: per the paper, the framework has run inside Apple for over three years in more than 30 use cases, with the strongest results on subscription, commerce and finance series.
Solution in brief
The Reasoning-based Anomaly Detection Framework (RADF) puts detection, root-cause search and alerting into one configurable pipeline that runs as batch or streaming jobs. Its mSelect step looks at each series, labels it Trend, Stable or Unstable, and applies the detector ensemble and parameters that worked best for that class on a benchmark. After detection, related series are linked to the anomalous one to speed up triage.
Questions this case answers
- How to monitor thousands of heterogeneous time series for anomalies when per-series algorithm choice and tuning cannot be done by hand
- How to narrow down the likely cause of a detected anomaly by linking it to anomalies in other series or dimension slices
- How to run anomaly detection on hundreds of heterogeneous business and engineering metrics without tuning a detector for each one?
- How to pick a detection algorithm automatically from the shape of a time series?
Tools and methods
- RADF (Core Library plus Orchestrator) — algorithms, smoothing, decomposition and root-cause tools driven by config files
- mSelect — classifies a series by trend and stationarity, then picks a detector ensemble and its parameters
- Augmented Dickey-Fuller test — separates stable from unstable series
- Conditional-probability root-cause linking — finds candidate series (by dimension or by metric) tied to the anomaly
- Apache Spark — batch detection jobs
- Apache Flink — real-time detection jobs
Google or a one-time email code. No password.