Class: DatadogAPIClient::V2::MetricTagConfigurationCreateAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb

Overview

Object containing the definition of a metric tag configuration to be created.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



57
58
59
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 57

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_create_attributes.rb', line 40

def aggregations
  @aggregations
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.



45
46
47
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 45

def exclude_tags_mode
  @exclude_tags_mode
end

#include_percentilesObject

Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a ‘metric_type` of `distribution`.



49
50
51
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 49

def include_percentiles
  @include_percentiles
end

#metric_typeObject

The metric’s type.



52
53
54
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 52

def metric_type
  @metric_type
end

#tagsObject

A list of tag keys that will be queryable for your metric.



55
56
57
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 55

def tags
  @tags
end