Class: DatadogAPIClient::V2::ObservabilityPipelineGenerateMetricsProcessor
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineGenerateMetricsProcessor
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb
Overview
The generate_datadog_metrics
processor creates custom metrics from logs and sends them to Datadog.
Metrics can be counters, gauges, or distributions and optionally grouped by log fields.
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 processor. -
#metrics ⇒ Object
readonly
Configuration for generating individual metrics.
-
#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.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb', line 40 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.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb', line 26 def id @id end |
#include ⇒ Object
A Datadog search query used to determine which logs this processor targets.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb', line 29 def include @include end |
#inputs ⇒ Object
A list of component IDs whose output is used as the input
for this processor.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb', line 32 def inputs @inputs end |
#metrics ⇒ Object
Configuration for generating individual metrics.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb', line 35 def metrics @metrics end |
#type ⇒ Object
The processor type. Always generate_datadog_metrics
.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb', line 38 def type @type end |