Skip to content

datadog list-metric-volumes

View distinct metrics volumes for the given metric name

Description

View distinct metrics volumes for the given metric name

Synopsis

datadog list-metric-volumes
    [--site <site>]
    <metric_name>

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

metric_name - (string)

     Name of the metric
     Example: "metric_name-1"
     Default: _None_      Attributes: required

Examples

Input:

!datadog list-metric-volumes --metric_name "datadog.dogstatsd.client.aggregated_context"
Output:
ID                                          TYPE                       DISTINCT-VOLUME  INDEXED-VOL INGESTED-VOL
datadog.dogstatsd.client.aggregated_context distinct_metric_volumes    2                  -           -

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "datadog"
Service Instance
Namespace
Object Type "metric_volume"
Object ID metric_name

Please see Access Control for details.