Class: DatadogAPIClient::V2::TagIndexingRuleOptionsData

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

Overview

Data payload for tag indexing rule options.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



44
45
46
# File 'lib/datadog_api_client/v2/models/tag_indexing_rule_options_data.rb', line 44

def additional_properties
  @additional_properties
end

#dynamic_tagsObject

Options for dynamic tag indexing applied per metric, such as tags filtered by query usage.

Before a tag key is dropped by this rule, two grace period conditions must be met:

  1. The metric must be submitted for at least as long as the selected window.
  2. A tag key must have been submitted for at least 15 days.

Any metric or tag key that does not meet these conditions are excluded from this indexing rule. The exclude_not_* fields require exclude_tags_mode to be set to true.



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

def dynamic_tags
  @dynamic_tags
end

#manage_preexisting_metricsObject

When true, the rule applies to metrics that were ingested before the rule was created.



36
37
38
# File 'lib/datadog_api_client/v2/models/tag_indexing_rule_options_data.rb', line 36

def manage_preexisting_metrics
  @manage_preexisting_metrics
end

#metric_matchObject

Criteria for matching metrics based on query state.



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

def metric_match
  @metric_match
end

#override_previous_rulesObject

When true, this rule's tag list overrides tags configured by earlier rules for the same metric. When false (default), tags from all matching rules are combined.



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

def override_previous_rules
  @override_previous_rules
end