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.



42
43
44
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 42

def additional_properties
  @additional_properties
end

#aggregationsObject

Deprecated. You no longer need to configure specific time and space aggregations for Metrics Without Limits.



25
26
27
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 25

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.



30
31
32
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 30

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`.



34
35
36
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 34

def include_percentiles
  @include_percentiles
end

#metric_typeObject

The metric’s type.



37
38
39
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 37

def metric_type
  @metric_type
end

#tagsObject

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



40
41
42
# File 'lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb', line 40

def tags
  @tags
end