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

You can select from the following monitor types.

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 TypeDescriptionUsage Examples
Cost ThresholdSet alerts on total costs exceeding a threshold in a daySet alerts when today’s total cost exceeds $10,000.
Cost TypeDescriptionUsage Examples
Cost ForecastSet alerts based on forecasted costs exceeding a threshold by the end of the current month.Alert daily if the forecasted cost for this month is projected to exceed $500.
Cost TypeDescriptionUsage Examples
Cost AnomaliesDetect anomalies by comparing current costs to historical data, using a defined lookback period. Incomplete days are excluded from analysis to ensure accuracy.Alert if 3 days from the past 30 days show significant cost anomalies compared to historical data.

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.

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

Use the editor to define the cost types or exports.

Cloud Cost and Metrics data source options for specifying which costs to track

For more information, see the Cloud Cost Management documentation.

Set alert conditions

If you are using the Cost Changes monitor type, 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.

If you are using the Percentage Change, you can filter out changes that are below a certain dollar threshold. For example, the monitor alerts when there is a cost change above 5% for any change that is above $500.

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

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

If you are using the Cost Anomalies monitor type, you can trigger an alert if the observed cost deviates from historical data by being above, below, or above or below a threshold for any provider and service.

The agile anomaly algorithm is used with two bounds and monthly seasonality.


Configure notifications and automations

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

Further Reading

PREVIEWING: esther/docs-9518-update-example-control-sensitive-log-data