このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。
Overview
Join the Preview!
This feature is currently in Preview.
Datadog’s Dynamic Metrics Quotas offers you greater control over your custom metrics cost through custom metrics quotas for accounts, teams, or metric names. You define a metric monitor on your estimated usage metrics, and when triggered, the monitor launches a workflow through Workflow Automation.
The workflow sends a Slack message asking for permission to automatically apply Metrics without Limits™ configurations to the triggering metrics, reducing the usage and cost of these metrics on your behalf. These configuration updates are generated by Datadog’s intelligent query insights, which uses a list of the actively queried tags to ensure that your cost-optimized configuration doesn’t sacrifice visibility.
See the Best Practices Guide for Custom Metrics Governance for more information about monitoring and preventing overages and sudden spikes in your overall account’s custom metrics usage.
Setup
Prerequisites
- A Datadog account with Workflow Automation enabled
- The Datadog Slack integration installed
Create a workflow from the blueprint
- Open this workflow blueprint, and click Create from Blueprint.
- Click the green Monitor tile on the workflow canvas, and enable the Automatic triggering toggle.
- Copy the workflow’s Mention handle for use in the metric monitor steps described below.
- Create a metric monitor.
- In the Choose the detection method section, Datadog recommends using the
Threshold Alert
monitor type. You can also use Change or Anomaly Detection. - In the Define the metric section, select
datadog.estimated_usage.metrics.custom.by_metric
as your metric name and choose the sum by
space aggregator. - Under Set alert conditions, define your quota threshold.
- Under Configure notifications & automations, update the monitor notification message and include the workflow mention handle from the previous section.
- Select Multi Alert to send a notification for each account, team, metric name, or other tag specified in the
sum by
field. - Click Create to create the metric monitor.
Complete the workflow configuration
- The workflow blueprint contains several Slack integration tiles that need to be updated. For each tile, input the Slack channel or specific user(s) responsible for granting permission to Datadog to apply these cost-optimizing metric configurations on your behalf.
- On the workflow canvas, click Save.
- Click Publish and Run to start automatically managing your custom metrics costs.
Further reading