Skip to content

Commit

Permalink
DOCS-8639 Cloud Cost Monitor Update (#24679)
Browse files Browse the repository at this point in the history
* DOCS-8639

Update the Cost Monitors doc page to include Forecast and Anomalies types.

* Updating some copy to be more detailed

* Add Tabs for Content

* Doc Review

Co-authored-by: Jen Gilbert <[email protected]>

---------

Co-authored-by: goeln <[email protected]>
Co-authored-by: Jen Gilbert <[email protected]>
  • Loading branch information
3 people authored Sep 26, 2024
1 parent a05945b commit 0f69f9d
Showing 1 changed file with 61 additions and 10 deletions.
71 changes: 61 additions & 10 deletions content/en/monitors/types/cloud_cost.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Cloud Cost Monitor
description: "Monitor costs associated with cloud platforms."
description: "Monitor cost changes, thresholds, forecasts, and anomalies in your cloud costs."
further_reading:
- link: "https://docs.datadoghq.com/cloud_cost_management/?tab=aws#overview"
tag: "Documentation"
Expand Down Expand Up @@ -43,16 +43,40 @@ Optionally, click the **+ Create Monitor** button in the cost report side panel.

## Select a cost monitor type

Choose between a **Compare Costs Over Time** or a **Set Daily Cost Threshold** monitor type.
You can select from the following monitor types.

{{< tabs >}}
{{% tab "Changes" %}}

| Cost Type | Description | Usage Examples |
| --- | ----------- | ----------- |
| Cost Changes | Compare costs on a daily, weekly or monthly basis | Alert when the difference between today's cost and the week before is over 5%. |

{{% /tab %}}
{{% tab "Threshold" %}}
| Cost Type | Description | Usage Examples |
| --- | ----------- | ----------- |
| Cost Threshold | Set alerts on total costs exceeding a threshold in a day | Set alerts when today's total cost exceeds $10,000. |

{{% /tab %}}
{{% tab "Forecast" %}}
| Cost Type | Description | Usage Examples |
| --- | ----------- | ----------- |
| Cost Forecast | Set 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. |

{{% /tab %}}
{{% tab "Anomalies" %}}

| Cost Type | Description | Usage Examples |
| --- | ----------- | ----------- |
| Cost Changes | Compare costs on a daily, weekly or monthly basis | Alert when the difference between today's cost and the week before is over 5% |
| Cost Threshold | Set alerts on total costs exceeding a threshold in a day | Set alerts when today's total cost exceeds $10,000 |
| Cost Anomalies | Detect 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. |

{{% /tab %}}
{{< /tabs >}}

## 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][1] page. Use the editor to define the cost types or exports.
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.

| Step | Required | Default | Example |
|-----------------------------------|----------|----------------------|---------------------|
Expand All @@ -61,16 +85,43 @@ Any cost type or metric reporting to Datadog is available for monitors. You can
| Group by | No | Everything | `aws_availability_zone` |
| Add observability metric | No | `system.cpu.user` | `aws.s3.all_requests` |

Use the editor to define the cost types or exports.

{{< img src="monitors/monitor_types/cloud_cost/ccm_metrics_source.png" alt="Cloud Cost and Metrics data source options for specifying which costs to track" style="width:100%;" >}}

For more information, see the [Cloud Cost Management documentation][1].

## 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.
{{< tabs >}}
{{% tab "Changes" %}}

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.

{{% /tab %}}
{{% tab "Threshold" %}}

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.

{{% /tab %}}
{{% tab "Forecast" %}}

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.

{{% /tab %}}
{{% tab "Anomalies" %}}

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][101] is used with two bounds and monthly seasonality.

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**.
[101]: /dashboards/functions/algorithms/
{{% /tab %}}
{{< /tabs >}}

**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
<br>

## Configure notifications and automations

Expand All @@ -83,4 +134,4 @@ For detailed instructions on the **Configure notifications and automations** sec
[1]: /cloud_cost_management/
[2]: https://app.datadoghq.com/cost/explorer
[3]: /monitors/notify/
[4]: https://app.datadoghq.com/monitors/create/cost
[4]: https://app.datadoghq.com/monitors/create/cost

0 comments on commit 0f69f9d

Please sign in to comment.