---
title: Anomalies Page
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Cloud Cost Management > Cost Changes > Anomalies Page
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Anomalies Page

## Overview{% #overview %}

Datadog Cloud Cost Management (CCM) continuously monitors your environment to detect and prioritize unexpected cost changes, enabling you to share, investigate, and resolve anomalies. Cost anomalies are available for AWS, Azure, Google Cloud, Oracle Cloud, Datadog, Anthropic, OpenAI, Cursor, Amazon Bedrock, Vertex AI, Gemini, and Databricks and do not require any additional setup after CCM is set up.

{% image
   source="https://docs.dd-static.net/images/cloud_cost/anomalies/anomalies-overview.230db47877c2df3e2dbd2fb2a6a7cc86.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/cloud_cost/anomalies/anomalies-overview.230db47877c2df3e2dbd2fb2a6a7cc86.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="List of cost anomalies showing service names, usage types, and cost impacts" /%}

A typical workflow could be the following:

1. **View** anomalies on the Anomalies tab
1. **Investigate** using Watchdog Explains to understand what's driving the cost changes
1. **Share with engineering teams** who can take action by reviewing details, investigating further, or setting up monitoring
1. **Resolve** anomalies that are expected or not significant

## How anomalies are defined{% #how-anomalies-are-defined %}

Anomalies are significant, unexpected changes that stand out from typical patterns. Datadog automatically identifies anomalies using machine learning techniques that adapt to your specific usage patterns.

To distinguish between true anomalies and expected fluctuations, Datadog's algorithm:

- Recognizes recurring cost spikes and dips, such as a cost increase every Monday, or a spike on the fourth day of every month
- Focuses on engineering usage (excludes taxes, credits, refunds, and Reserved Instance fees)
- Filters out low-impact anomalies to reduce noise

## Customize anomaly detection{% #customize-anomaly-detection %}

By default, Datadog automatically detects cost anomalies for each cloud provider. If you have the `cloud_cost_management_write` permission, you can customize how Datadog detects anomalies per provider to better match your organization's cost structure. Custom anomaly detection is available for AWS, Azure, Google Cloud, Datadog, Oracle Cloud, Anthropic, OpenAI, Cursor, Amazon Bedrock, Vertex AI, and Gemini.

To customize anomaly detection:

1. On the [Anomalies tab](https://app.datadoghq.com/cost/analyze/anomalies), click Configure > Detection rules.
1. In the Configure Cost Anomalies panel, select a provider. A checkmark indicates that the provider uses custom settings, and an empty circle indicates that it uses Datadog's default settings.
1. Adjust the following settings for the selected provider:
   - **Detection dimension**: The dimension that Datadog detects cost anomalies on (for example, service or charge description). This setting is required.
   - **Minimum daily cost**: The minimum daily cost a change must reach before it is flagged as an anomaly (at least 5, in your organization's currency). Increase this value to reduce noise from low-cost changes.
   - **Breakdown tags**: Up to five additional tags used to break down detected anomalies, helping the [Cloud Cost skill in Bits Chat](https://docs.datadoghq.com/cloud_cost_management/cloud_cost_skill.md) identify what's driving each anomaly. A set of default tags is always included and cannot be removed.
1. Click Save. Changes apply to anomalies detected going forward.

To return a provider to Datadog's default settings, select the provider, click Revert, and then click Save.

## View cost anomalies{% #view-cost-anomalies %}

On the [Anomalies tab of the Cloud Cost page in Datadog](https://app.datadoghq.com/cost/analyze/anomalies), you can view and filter anomalies:

- Active: Anomalies from the last full day of cost data (typically 2-3 days prior).
- Past: Anomalies that lasted more than 7 days or are no longer detected as anomalous. Past anomalies can be useful to report on, but are often less urgent and actionable.
- Resolved: Anomalies that you've marked as resolved with context.

Each anomaly card shows:

- Service name (`rds`, for example)
- Usage type
- Cloud accounts affected
- Expected vs. actual costs
- Cost trend graph (past 1 month)

Anomalies are sorted by cost impact, with the most significant changes at the top.

## Investigate anomalies{% #investigate-anomalies %}

### Understand what drives anomalies{% #understand-what-drives-anomalies %}

CCM automatically uses [Watchdog Explains](https://docs.datadoghq.com/dashboards/graph_insights/watchdog_explains.md), an investigation assistant, to help you identify what is driving cost anomalies. Watchdog Explains analyzes and identifies the specific:

- accounts
- teams
- services
- Kubernetes or ECS clusters
- regions

where the anomaly happened, reducing manual investigation steps. When hovering over the anomaly graph, you can see two graphs: one with and one without the tags identified by Watchdog Explains. This shows how removing specific tags flattens the spike, confirming the impact on the cost.

### Take action on anomalies{% #take-action-on-anomalies %}

Follow these steps to investigate and resolve anomalies:

1. Hover over an anomaly to see anomaly drivers or click See more to open the side panel.

   {% image
      source="https://docs.dd-static.net/images/cloud_cost/anomalies/anomalies-watchdog.dc0b0ad8bf363d61d686babc70d5257d.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/cloud_cost/anomalies/anomalies-watchdog.dc0b0ad8bf363d61d686babc70d5257d.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Click See More to see side panel showing anomaly details, investigation options, and action buttons" /%}

1. Review the details for services affected, teams involved, environments impacted, resource IDs, or how usage and unit price may be driving the cost anomaly.

1. **Investigate further**: View the anomaly in Cost Explorer or a Datadog Notebook to further investigate anomalies by using additional dimensions. You can then send the anomaly, Explorer link, or Notebook to the service owners or teams identified by Watchdog Explains. This enables teams to resolve anomalies with context for why the anomaly occurred and whether it's expected.

   {% image
      source="https://docs.dd-static.net/images/cloud_cost/anomalies/anomalies-take-action.66d505880e948fb39de5274ab70cdc50.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/cloud_cost/anomalies/anomalies-take-action.66d505880e948fb39de5274ab70cdc50.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Click Take Action to view the anomaly in Cost Explorer or add it to a Notebook" /%}

1. **Set up monitoring**: Create a cost anomaly monitor for similar patterns or configure alerts for future anomalies.

   {% image
      source="https://docs.dd-static.net/images/cloud_cost/anomalies/anomalies-create-monitor.6e71fc1c6231144ff7aeee3cd8702754.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/cloud_cost/anomalies/anomalies-create-monitor.6e71fc1c6231144ff7aeee3cd8702754.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Create a cost anomaly monitor" /%}

## Resolve anomalies{% #resolve-anomalies %}

As you investigate anomalies, you may find some that are not significant, were actually expected costs, or are otherwise not considered anomalies.

To resolve an anomaly:

1. Click Resolve Anomaly to open the resolution popup.
1. Select one of the following resolutions:
   - The anomaly amount was too small
   - This is an unexpected increase
   - This is an expected increase
1. Add context about why it is or is not an anomaly.
1. Click Resolve to move it to the Resolved tab.

This is an example of how to mark a cost anomaly as significant and explain why it's an anomaly:

{% image
   source="https://docs.dd-static.net/images/cloud_cost/anomalies/cost_anomalies_side-panel_is-unexpected-1.cc10adc5f817985122393cee41d1ceea.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/cloud_cost/anomalies/cost_anomalies_side-panel_is-unexpected-1.cc10adc5f817985122393cee41d1ceea.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Form for marking an anomaly as unexpected with explanation field" /%}

## Real-time anomaly notifications{% #real-time-anomaly-notifications %}

Real-time anomaly notifications alert you within 15 minutes of an unexpected increase in estimated AI costs or [real-time cloud compute costs](https://docs.datadoghq.com/cloud_cost_management/cost_changes/real_time_costs.md). Cost anomalies detected from billing data take longer to surface, because billing data is typically available 2-3 days after usage.

Real-time anomaly notifications require estimated cost data: LLM cost data from Agent Observability for AI costs, or [Real-Time Costs](https://docs.datadoghq.com/cloud_cost_management/cost_changes/real_time_costs.md) for cloud compute costs. For the full requirements, see the [real-time anomaly monitor prerequisites](https://docs.datadoghq.com/cloud_cost_management/cost_changes/monitors.md#prerequisites).

To set up real-time anomaly notifications:

1. On the [Anomalies tab](https://app.datadoghq.com/cost/analyze/anomalies), click Configure > Real-time notifications.

   {% image
      source="https://docs.dd-static.net/images/cloud_cost/anomalies/real-time-notifications-form.b11a5c20ffea24ce6f5b537fc63dc8d7.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/cloud_cost/anomalies/real-time-notifications-form.b11a5c20ffea24ce6f5b537fc63dc8d7.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="The real-time notifications form, with AI providers selected and options to notify by email, Slack, or Microsoft Teams." /%}

1. Select AI providers and turn on Alert on real-time AI cost anomalies, or select Cloud/SaaS providers and turn on Alert on real-time cloud cost anomalies. The Cloud/SaaS providers option covers AWS, Azure, and Google Cloud.

1. Under Specify cost scope & alert conditions, optionally group alerts by up to two tags and filter the cost.

1. Set the minimum cost impact. Datadog sends a notification only when the anomaly cost over the next 24 hours is likely to exceed the higher of:

   - An amount in your organization's currency: a whole number greater than 0 (default: 500)
   - A percentage of the baseline cost: 0-100% (default: 5%)

1. Under Choose who to notify, add email addresses, Slack channels, or Microsoft Teams channels.

1. Click Save configuration. Changes apply to anomalies detected after you save.

Real-time anomalies are sent only as notifications. They don't appear on the Anomalies tab and don't affect anomalies detected from finalized billing data.

Saving the form creates real-time anomaly monitors tagged `ccm_realtime_anomaly_notifications:true`:

- If you don't group alerts, Datadog creates one monitor.
- If you group alerts by tags, Datadog creates one monitor for each tag. For example, grouping by two tags creates two monitors, each grouped by one of the tags, not one monitor grouped by both.

To stop real-time anomaly notifications, turn off Alert on real-time AI cost anomalies or Alert on real-time cloud cost anomalies, and click Save configuration. Datadog deletes the monitors that the form created for that cost type. Monitors that you created separately aren't affected.

For a custom notification message or more than one configuration per provider, [create a real-time anomaly monitor](https://docs.datadoghq.com/cloud_cost_management/cost_changes/monitors.md#create-a-real-time-anomaly-monitor) instead.

## Troubleshooting{% #troubleshooting %}

If you're not seeing expected anomalies:

- Verify that CCM is [properly set up](https://docs.datadoghq.com/cloud_cost_management/setup.md)
- Check that you have the necessary permissions for AWS, Azure, Google Cloud, or Oracle Cloud
- Review the time range of your anomaly view

For more help, contact [Datadog Support](https://docs.datadoghq.com/help/).

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Learn about Cloud Cost Management](https://docs.datadoghq.com/cloud_cost_management.md)
- [Create Cost Monitors](https://docs.datadoghq.com/cloud_cost_management/cost_changes/monitors.md)
