Cloud Cost Monitor

Overview

Get proactive notifications on cost changes to help mitigate unexpected cloud spend. Cloud Cost Monitors help you identify cost changes quickly so you can investigate the cause. You can configure your alerts to catch unexpected changes.

In order to configure Cloud Cost monitors, you need to have Cloud Cost Management set up. After it’s set up, you can configure monitors to alert when costs increase or decrease.

Cloud Cost monitors are evaluated with a 48 hour delayed evaluation window, because Cloud Cost data is not guaranteed to be available until 48 hours after usage. For example, a monitor with a lookback of 7 days being evaluated on January 15 examines cost data from January 6 through January 13.

Monitor creation

To create a Cloud Cost monitor in Datadog, use the main navigation: Monitors –> New Monitor –> Cloud Cost.

You can also create Cloud Cost monitors from the Cloud Cost Explorer. Click More… next to the Options button and select Create monitor.

Option to create a monitor from the Cloud Cost Explorer page

Optionally, click the + Create Monitor button in the cost report side panel.

The Create Monitor button on a cost report side panel in the Cloud Cost Explorer

Select a cost monitor type

Choose between a Compare Costs Over Time or a Set Daily Cost Threshold monitor type.

Cost TypeDescriptionUsage Examples
Cost ChangesCompare costs on a daily, weekly or monthly basisAlert when the difference between today’s cost and the week before is over 5%
Cost ThresholdSet alerts on total costs exceeding a threshold in a daySet alerts when today’s total cost exceeds $10,000

Specify which costs to track

Any cost type or metric reporting to Datadog is available for monitors. You can use custom metrics or observability metrics alongside a cost metric to monitor unit economics. For more information, see the Cloud Cost Management page. Use the editor to define the cost types or exports.

StepRequiredDefaultExample
Select the cost metricYesaws.cost.amortizedazure.cost.actual
Define the filter byNoEverythingaws_product:s3
Group byNoEverythingaws_availability_zone
Add observability metricNosystem.cpu.useraws.s3.all_requests
Cloud Cost and Metrics data source options for specifying which costs to track

Set alert conditions

If the cost monitor type is Cost Threshold, you can trigger an alert when the cloud cost is above, below, above or equal, or below or equal to a threshold.

If the cost monitor type is Cost Changes, you can trigger an alert when the cost increases or decreases more than the defined threshold. The threshold can be set to either a Percentage Change or set to Dollar Amount.

Note: For the Percentage Change, you can also filter out changes that are below a certain dollar threshold. Example: alert when there is a cost change above 5% for any change that is above $500

Configure notifications and automations

For detailed instructions on the Configure notifications and automations section, see the Notifications page.

Further Reading

PREVIEWING: may/unit-testing