Class: DatadogAPIClient::V2::ObservabilityPipelineGenerateMetricsV2Processor
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineGenerateMetricsV2Processor
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb
Overview
The generate_metrics processor creates custom metrics from logs.
Metrics can be counters, gauges, or distributions and optionally grouped by log fields.
The generated metrics must be routed to a metrics destination using the input <processor-id>.metrics.
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.
-
#id ⇒ Object
readonly
The unique identifier for this component.
-
#include ⇒ Object
A Datadog search query used to determine which logs this processor targets.
-
#metrics ⇒ Object
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.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 46 def additional_properties @additional_properties end |
#display_name ⇒ Object
The display name for a component.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 29 def display_name @display_name end |
#enabled ⇒ Object
Indicates whether the processor is enabled.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 32 def enabled @enabled end |
#id ⇒ Object
The unique identifier for this component. Used to reference this component in other parts of the pipeline.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 35 def id @id end |
#include ⇒ Object
A Datadog search query used to determine which logs this processor targets.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 38 def include @include end |
#metrics ⇒ Object
Configuration for generating individual metrics.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 41 def metrics @metrics end |
#type ⇒ Object
The processor type. Always generate_metrics.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 44 def type @type end |