Class: DatadogAPIClient::V2::MetricTagConfigurationAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::MetricTagConfigurationAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb
Overview
Object containing the definition of a metric tag configuration attributes.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#aggregations ⇒ Object
A list of queryable aggregation combinations for a count, rate, or gauge metric.
-
#created_at ⇒ Object
Timestamp when the tag configuration was created.
-
#exclude_tags_mode ⇒ Object
When set to true, the configuration will exclude the configured tags and include any other submitted tags.
-
#include_percentiles ⇒ Object
Toggle to include or exclude percentile aggregations for distribution metrics.
-
#metric_type ⇒ Object
The metric’s type.
-
#modified_at ⇒ Object
Timestamp when the tag configuration was last modified.
-
#tags ⇒ Object
List of tag keys on which to group.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
63 64 65 |
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb', line 63 def additional_properties @additional_properties end |
#aggregations ⇒ Object
A list of queryable aggregation combinations for a count, rate, or gauge metric. By default, count and rate metrics require the (time: sum, space: sum) aggregation and Gauge metrics require the (time: avg, space: avg) aggregation. Additional time & space combinations are also available:
-
time: avg, space: avg
-
time: avg, space: max
-
time: avg, space: min
-
time: avg, space: sum
-
time: count, space: sum
-
time: max, space: max
-
time: min, space: min
-
time: sum, space: avg
-
time: sum, space: sum
Can only be applied to non_distribution metrics that have a ‘metric_type` of `count`, `rate`, or `gauge`.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb', line 40 def aggregations @aggregations end |
#created_at ⇒ Object
Timestamp when the tag configuration was created.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb', line 43 def created_at @created_at end |
#exclude_tags_mode ⇒ Object
When set to true, the configuration will exclude the configured tags and include any other submitted tags. When set to false, the configuration will include the configured tags and exclude any other submitted tags. Defaults to false. Requires ‘tags` property.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb', line 48 def @exclude_tags_mode end |
#include_percentiles ⇒ Object
Toggle to include or exclude percentile aggregations for distribution metrics. Only present when the ‘metric_type` is `distribution`.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb', line 52 def include_percentiles @include_percentiles end |
#metric_type ⇒ Object
The metric’s type.
55 56 57 |
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb', line 55 def metric_type @metric_type end |
#modified_at ⇒ Object
Timestamp when the tag configuration was last modified.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb', line 58 def modified_at @modified_at end |
#tags ⇒ Object
List of tag keys on which to group.
61 62 63 |
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb', line 61 def @tags end |