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.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#id ⇒ Object
readonly
The unique identifier for this component.
-
#include ⇒ Object
readonly
A Datadog search query used to determine which logs this processor targets.
-
#inputs ⇒ Object
readonly
A list of component IDs whose output is used as the
input
for this component. -
#percentage ⇒ Object
The percentage of logs to sample.
-
#rate ⇒ Object
readonly
Number of events to sample (1 in N).
-
#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.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 42 def additional_properties @additional_properties end |
#id ⇒ Object
The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the input
to downstream components).
25 26 27 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 25 def id @id end |
#include ⇒ Object
A Datadog search query used to determine which logs this processor targets.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 28 def include @include end |
#inputs ⇒ Object
A list of component IDs whose output is used as the input
for this component.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 31 def inputs @inputs end |
#percentage ⇒ Object
The percentage of logs to sample.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 34 def percentage @percentage end |
#rate ⇒ Object
Number of events to sample (1 in N).
37 38 39 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 37 def rate @rate end |
#type ⇒ Object
The processor type. The value should always be sample
.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb', line 40 def type @type end |