Class: DatadogAPIClient::V2::ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit

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

Overview

A cardinality override for a specific tag key within a per-metric limit.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/observability_pipeline_tag_cardinality_limit_processor_per_tag_limit.rb', line 33

def additional_properties
  @additional_properties
end

#modeObject

How the per-tag override is applied. limit_override enforces a custom limit on the tag; excluded skips the tag from cardinality tracking.



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

def mode
  @mode
end

#tag_keyObject

The tag key this override applies to.



28
29
30
# File 'lib/datadog_api_client/v2/models/observability_pipeline_tag_cardinality_limit_processor_per_tag_limit.rb', line 28

def tag_key
  @tag_key
end

#value_limitObject

The maximum number of distinct values allowed for this tag. Required when mode is limit_override. Must be omitted when mode is excluded.



31
32
33
# File 'lib/datadog_api_client/v2/models/observability_pipeline_tag_cardinality_limit_processor_per_tag_limit.rb', line 31

def value_limit
  @value_limit
end