Anomaly Monitor
An anomaly monitor is a Datadog monitor type that builds a band of the expected range from a metric's past trajectory and notifies you when the value keeps falling outside that band. Because it factors in trends and day-of-week and time-of-day cycles, it suits values that are hard to watch with a fixed threshold.
Overview
An anomaly monitor is a Datadog monitor type that tells you when the target metric behaves differently from its past. You use it to monitor values where a single threshold, once set, stops fitting as time passes, such as a login count that keeps growing or traffic that swings by day of the week. The mechanism computes a band of the expected range from past history, and fires when the proportion of points outside the band within the evaluation window exceeds a threshold. There are 3 algorithms, basic, agile, and robust, chosen by whether seasonality is present and whether a change in level should be treated as an anomaly. The situations where you care are when threshold reviews can no longer keep up, and when you apply it to a new metric and wonder why no band appears.
A monitor that finds deviations by comparing against its own past
An anomaly monitor is a Monitor that detects when a Metric is behaving differently from its past, while accounting for trends, day-of-week cycles, and time-of-day cycles. The official documentation describes it as a feature suited to metrics with strong trends or recurring patterns that are hard to monitor with thresholds (as of September 2026, Source: Anomaly Monitor). The official documentation gives 2 examples. One is web traffic that is abnormally low on a weekday afternoon, where the same volume would be normal at night; the other is a login count that grows every day, so that any threshold quickly goes stale. The fact that the point of comparison is not a fixed number but "the metric's own past" determines every property of this type.
What counts as an "anomaly" - the band and the proportion of points outside it
The screen draws a gray band showing the expected range, and by default values that fall outside the band on either the upper or the lower side are treated as anomalies. You can also choose to treat only the upper side, or only the lower side, as anomalous. Firing does not happen the moment a single point falls outside. The evaluation window is chosen from options such as 15 minutes or 1 hour, or set anywhere between 15 minutes and 2 weeks if specified freely. The monitor fires when the proportion of points outside the band within that window exceeds a threshold (as of September 2026). The width of the band is adjusted with a value called Deviations, which corresponds to the bounds of the anomalies function on dashboards. The official documentation cautions that a window that is too short is prone to false alarms from transient noise. The recovery window is recommended to be the same length as the trigger window, and the accepted range is restricted so that the trigger and recovery conditions cannot hold at the same time.
Seasonality and the length of history needed for learning
Seasonality is chosen from 3 options, hourly, daily, and weekly, and is used by the agile and robust algorithms. The premise is that with hourly, 5:15 resembles 4:15 and 3:15; with daily, 5 p.m. today resembles 5 p.m. yesterday; and with weekly, this Tuesday resembles past Tuesdays. Computing the baseline requires at least 3 times the chosen seasonality in history: 3 weeks for weekly, 3 days for daily, and 3 hours for hourly (as of September 2026). The algorithms that use seasonality use up to 6 weeks of history, so that they are not dragged too far by anomalous behavior that occurred recently. A setting that compensates for daylight saving time shifts is also provided for daily and weekly seasonality.
How to choose among the 3 algorithms
Datadog analyzes the metric and selects the algorithm automatically, but you can change it from the advanced options. The differences come down to 2 points: whether the algorithm can handle seasonality, and how it reacts to changes in level.
| Algorithm | Suited values | Nature of the reaction |
|---|---|---|
| basic | Values with no recurring cycle | Determines the range from the distribution of recent values. Works with little history and follows changes immediately, but knows nothing about cycles or long-term trends |
| agile | Values with a cycle where the level is also expected to change | Weights the recent past heavily and follows changes in level quickly. Weak against recent anomalies that persist for a long time |
| robust | Values with a cycle whose level should be stable | Predictions do not waver even during long-lasting anomalies. Slow to react to intentional changes in level such as those caused by code changes |
The key to choosing is whether you want to accept a change in level as the "new normal" or be told about it as an "anomaly." If you use robust on a value whose throughput level changes with a release, the new level remains an anomaly for a while. Conversely, since agile adapts to change, the official documentation's explanation can be read as saying it tends to absorb slowly continuing anomalies into the normal range.
How it differs from Watchdog
The difference from Watchdog, which uses the same phrase "anomaly detection," is who decides. Watchdog is built into Datadog and finds movements that deviate from the normal baseline without the user configuring targets or conditions. An anomaly monitor is a monitor the user builds by deciding which metric to evaluate, with which algorithm and seasonality, and over what length of window. That is why the mechanisms common to all monitors, such as specifying notification recipients, suppression by Downtime, and the two stages of warning and alert, can be used as they are. You will not go wrong if you see the division of labor as Watchdog casting a wide net with no configuration, and the anomaly monitor watching important values by name.
Seasonal bands do not yet appear for new metrics
Because the anomalies function predicts future expected values from the past, the official documentation states explicitly that results are poor for metrics you have only just started sending. robust and agile do not draw a band during the first few seasons; only basic produces a band shortly after the metric appears (as of September 2026). Since weekly seasonality requires 3 weeks of history, a value right after adoption cannot be protected by an agile or robust band. The assumed design is to protect it with a static threshold right after adoption and switch over once history has accumulated. How to choose between this and forecast monitors and outlier monitors is left to the Monitors explainer. The benefit for those receiving the Alert is that the effort of continually maintaining thresholds disappears, and only "different from usual" gets delivered.