Class: DatadogAPIClient::V2::MetricTagConfigurationAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#aggregationsObject

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 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_atObject

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_modeObject

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
  @exclude_tags_mode
end

#include_percentilesObject

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_typeObject

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_atObject

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

#tagsObject

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
  @tags
end