provider Metrics GET
/api/v2/metrics/{metric_name}/active-configurations @utdk/datadog
/api/v2/metrics/{metric_name}/active-configurations List active tags and aggregations
List tags and aggregations that are actively queried on dashboards, notebooks, monitors, the Metrics Explorer, and using the API for a given metric name.
- metric_name path required
- The name of the metric.
- string
- window[seconds] query
- The number of seconds of look back (from now). Default value is 604,800 (1 week), minimum value is 7200 (2 hours), maximum value is 2,630,000 (1 month).
- integer
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.listactivemetricconfigurations()