Class: DatadogAPIClient::V2::RetentionFilterUpdateAttributes

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

Overview

The object describing the configuration of the retention filter to create/update.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#enabledObject

Enable/Disable the retention filter.



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

def enabled
  @enabled
end

#filterObject

The spans filter. Spans matching this filter will be indexed and stored.



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

def filter
  @filter
end

#filter_typeObject

The type of retention filter.



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

def filter_type
  @filter_type
end

#nameObject

The name of the retention filter.



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

def name
  @name
end

#rateObject

Sample rate to apply to spans going through this retention filter, a value of 1.0 keeps all spans matching the query.



38
39
40
# File 'lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb', line 38

def rate
  @rate
end