Class: DatadogAPIClient::V2::ObservabilityPipelineSampleProcessor
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineSampleProcessor
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb
Overview
The sample processor allows probabilistic sampling of logs at a fixed rate.
Supported pipeline types: logs
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#display_name ⇒ Object
The display name for a component.
-
#enabled ⇒ Object
readonly
Indicates whether the processor is enabled.
-
#group_by ⇒ Object
readonly
Optional list of fields to group events by.
-
#id ⇒ Object
readonly
The unique identifier for this component.
-
#include ⇒ Object
readonly
A Datadog search query used to determine which logs this processor targets.
-
#percentage ⇒ Object
readonly
The percentage of logs to sample.
-
#type ⇒ Object
readonly
The processor type.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 47 def additional_properties @additional_properties end |
#display_name ⇒ Object
The display name for a component.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 27 def display_name @display_name end |
#enabled ⇒ Object
Indicates whether the processor is enabled.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 30 def enabled @enabled end |
#group_by ⇒ Object
Optional list of fields to group events by. Each group is sampled independently.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 33 def group_by @group_by end |
#id ⇒ Object
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the input to downstream components).
36 37 38 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 36 def id @id end |
#include ⇒ Object
A Datadog search query used to determine which logs this processor targets.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 39 def include @include end |
#percentage ⇒ Object
The percentage of logs to sample.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 42 def percentage @percentage end |
#type ⇒ Object
The processor type. The value should always be sample.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 45 def type @type end |