Skip to content

datadog list-active-tags-aggregations

List tags and aggregations that are actively queried on dashboards and monitors for a given metric name

Description

List tags and aggregations that are actively queried on dashboards and monitors for a given metric name

Synopsis

datadog list-active-tags-aggregations
    [--site <site>]
    <metric_name>
    [--seconds <seconds>]

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

seconds - (int)

     The number of seconds from now to look back
     Example: --seconds 1
     Default: _None_      Attributes: optional

     Validation:
         min: 7200         max: 2630000

Examples

Input:

!datadog list-active-tags-aggregations --metric_name "datadog.dogstatsd.client.aggregated_context"
Output:
ID                                          TYPE                            TAGS    AGGREGATIONS
datadog.dogstatsd.client.aggregated_context actively_queried_configurations

Access Control

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

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

Please see Access Control for details.