Class: DatadogAPIClient::V2::RetentionFilterAttributes

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

Overview

The attributes of the retention filter.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



58
59
60
# File 'lib/datadog_api_client/v2/models/retention_filter_attributes.rb', line 58

def additional_properties
  @additional_properties
end

#created_atObject

The creation timestamp of the retention filter.



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

def created_at
  @created_at
end

#created_byObject

The creator of the retention filter.



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

def created_by
  @created_by
end

#editableObject

Shows whether the filter can be edited.



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

def editable
  @editable
end

#enabledObject

The status of the retention filter (Enabled/Disabled).



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

def enabled
  @enabled
end

#execution_orderObject

The execution order of the retention filter.



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

def execution_order
  @execution_order
end

#filterObject

The spans filter used to index spans.



40
41
42
# File 'lib/datadog_api_client/v2/models/retention_filter_attributes.rb', line 40

def filter
  @filter
end

#filter_typeObject

The type of retention filter. The value should always be spans-sampling-processor.



43
44
45
# File 'lib/datadog_api_client/v2/models/retention_filter_attributes.rb', line 43

def filter_type
  @filter_type
end

#modified_atObject

The modification timestamp of the retention filter.



46
47
48
# File 'lib/datadog_api_client/v2/models/retention_filter_attributes.rb', line 46

def modified_at
  @modified_at
end

#modified_byObject

The modifier of the retention filter.



49
50
51
# File 'lib/datadog_api_client/v2/models/retention_filter_attributes.rb', line 49

def modified_by
  @modified_by
end

#nameObject

The name of the retention filter.



52
53
54
# File 'lib/datadog_api_client/v2/models/retention_filter_attributes.rb', line 52

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.



56
57
58
# File 'lib/datadog_api_client/v2/models/retention_filter_attributes.rb', line 56

def rate
  @rate
end