Configuring Anomaly Detection
Anomaly detection is configured on the profiling monitor, and the configuration applies to every metric of the monitor. A metric can override it with its own settings.
In most cases you only enable anomaly detection and keep the defaults. Each metric learns its own expected range (a lower and an upper bound for its next records) from its own history: there are no thresholds to set per metric, and a metric with a weekly pattern, a growing trend or a noisy history gets a range that fits it. A record outside the expected range is an anomaly.

Settings
| Setting | Default | What it does |
|---|---|---|
| Enable anomaly detection | off | Turns forecasting and anomaly detection on for the monitor’s metrics. |
| Sensitivity | Medium | How large a deviation must be to count as an anomaly. See Choosing the Sensitivity . |
| Frequency | Automatic | The time grid the records are grouped on: Automatic, Hourly, Daily, Weekly or Monthly. Automatic follows the records: a metric profiled every night gets a daily grid, one profiled every Monday a weekly grid. Choose a frequency only to average several records into one, for example Daily for a metric profiled several times a day. A value set through the API that is not in the list is shown as Custom; see Custom Frequencies for the values that are accepted. |
Under Advanced:
| Setting | Default | What it does |
|---|---|---|
| Custom Sensitivity | 0.9 | The sensitivity as a number from 0 to 1, for values between the levels (0.7 is High, 0.9 Medium, 1 Low). Lower values flag more records. |
| Minimum Training Data | 30 | Records needed before the first forecast. Only records actually received count, not missing runs. Until then the metric is in the TRAINING state and no anomaly is detected. On a weekly or monthly grid the number is read as days, as in the old version (30 covers about five weeks, or one month), but a metric always needs at least 6 records. So weekly and monthly metrics get an expected range after a few records. |
| Forecast Length | 15 | Future periods covered by each forecast. A new forecast is computed after every upload, so this only matters when records arrive late: a record after the last forecast period is not checked. Whatever the value, the expected range reaches at least about one and a half of the metric’s usual gaps past its last record, so the next run is always checked. |
Monitors created with the old version may still show Time Series Size, Training - Validation Split and Dynamic Forecast Length through the API. They have no effect: the latest 1,000 records are always used.
Custom Frequencies
A custom frequency is a step written as a number and a unit, such as 30min, 1h, 1D or 7D, or a calendar step: W (weeks), MS or ME (months), QS or QE (quarters), YS or YE (years). On a month, quarter or year grid the expected range keeps the day your records arrive on, whichever of MS or ME you choose: records taken on the 25th are checked on the 25th, also in February, and records taken on the last day of the month are checked on the last day.
Other values are refused, and the metric’s model goes to the Error state, so its records are not checked until the frequency is fixed. This includes business days (B) and the short forms used by the old version: M, H, Q and Y, with or without a number in front (1M, 1H). If a metric shows such an error, set its frequency to Automatic or to one of the values above.
Choosing the Sensitivity
The sensitivity sets how many normal records may fall outside the expected range:
| Level | Value | Normal records flagged (target) | Use it for |
|---|---|---|---|
| High: more anomalies | 0.7 | about 1 in 100 | Critical tables where a missed problem costs more than a false alert. |
| Medium (recommended) | 0.9 | about 3 in 1,000 | Most metrics. With daily profiling, about one false alert per metric per year. |
| Low: fewer anomalies | 1.0 | fewer than 1 in 1,000 | Noisy metrics, or monitors with many metrics where only large deviations matter. |
The share is a target for normal behaviour. Real metrics change behaviour from time to time (a new load schedule, a migration), and records right after such a change are flagged more often until the expected range adapts.
Before changing the level for a single noisy metric, classify its false alerts as False Positive: each one widens the expected range on its side for 90 days, at least far enough that the same value is not flagged again. See Classify Incidents and Anomalies .
Note
Upgrading from the old version. The sensitivity is no longer a coverage. In the old version, 0.9 meant a 90% prediction interval and about 10% of normal records were flagged. Now 0.9 is the Medium level, and about 3 normal records in 1,000 are flagged. Existing monitors keep their stored value, so they get far fewer alerts with the same setting. Choose High if a monitor now misses deviations you want to hear about.
How the Expected Range Is Computed
The forecasting service learns what is normal from each metric’s own history and sets the lower and the upper bound separately. See ML Over Profiling for when it runs, How Anomaly Detection Works for the method, and Read a Metric’s Forecast and Model for what the Model tab shows.