Class: DatadogAPIClient::V2::ObservabilityPipelineTagCardinalityLimitProcessorPerMetricLimit

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

Overview

A cardinality override applied to a specific metric.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/observability_pipeline_tag_cardinality_limit_processor_per_metric_limit.rb', line 39

def additional_properties
  @additional_properties
end

#limit_exceeded_actionObject

The action to take when the cardinality limit is exceeded.



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

def limit_exceeded_action
  @limit_exceeded_action
end

#metric_nameObject

The name of the metric this override applies to.



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

def metric_name
  @metric_name
end

#modeObject

How the per-metric override is applied. tracked enforces a custom limit; excluded skips the metric entirely.



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

def mode
  @mode
end

#per_tag_limitsObject

A list of per-tag cardinality overrides that apply within this metric. Must be omitted when mode is excluded.



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

def per_tag_limits
  @per_tag_limits
end

#value_limitObject

The maximum number of distinct tag value combinations allowed for this metric. Required when mode is tracked. Must be omitted when mode is excluded.



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

def value_limit
  @value_limit
end