Class: DatadogAPIClient::V2::TagIndexingRuleDynamicTags

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

Overview

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.

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_dynamic_tags.rb', line 44

def additional_properties
  @additional_properties
end

#exclude_not_queried_window_secondsObject

Tags that have not been queried within this window are excluded from indexing. Maximum of 7776000 (90 days).



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

def exclude_not_queried_window_seconds
  @exclude_not_queried_window_seconds
end

#exclude_not_used_in_assetsObject

Tags not used in any dashboards, monitors, notebooks, or SLOs are excluded from indexing.



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

def exclude_not_used_in_assets
  @exclude_not_used_in_assets
end

#queried_tags_window_secondsObject

Window in seconds for evaluating queried tags.



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

def queried_tags_window_seconds
  @queried_tags_window_seconds
end

When true, tags from related assets are included.



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

def related_asset_tags
  @related_asset_tags
end