Class: DatadogAPIClient::V2::RetentionFilterCreateAttributes
- Inherits:
 - 
      Object
      
        
- Object
 - DatadogAPIClient::V2::RetentionFilterCreateAttributes
 
 
- Includes:
 - BaseGenericModel
 
- Defined in:
 - lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb
 
Overview
The object describing the configuration of the retention filter to create/update.
Instance Attribute Summary collapse
- 
  
    
      #additional_properties  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute additional_properties.
 - 
  
    
      #enabled  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Enable/Disable the retention filter.
 - 
  
    
      #filter  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The spans filter.
 - 
  
    
      #filter_type  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The type of retention filter.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The name of the retention filter.
 - 
  
    
      #rate  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Sample rate to apply to spans going through this retention filter, a value of 1.0 keeps all spans matching the query.
 
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
      40 41 42  | 
    
      # File 'lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb', line 40 def additional_properties @additional_properties end  | 
  
#enabled ⇒ Object
Enable/Disable the retention filter.
      25 26 27  | 
    
      # File 'lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb', line 25 def enabled @enabled end  | 
  
#filter ⇒ Object
The spans filter. Spans matching this filter will be indexed and stored.
      28 29 30  | 
    
      # File 'lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb', line 28 def filter @filter end  | 
  
#filter_type ⇒ Object
The type of retention filter. The value should always be spans-sampling-processor.
      31 32 33  | 
    
      # File 'lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb', line 31 def filter_type @filter_type end  | 
  
#name ⇒ Object
The name of the retention filter.
      34 35 36  | 
    
      # File 'lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb', line 34 def name @name end  | 
  
#rate ⇒ Object
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_create_attributes.rb', line 38 def rate @rate end  |