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.
There must be a destination whose inputs reference this processor with the <processor-id>.metrics suffix to route the generated metrics. All destination types normally supported for metrics pipelines are also supported as metrics destinations in logs pipelines.
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.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 47 def additional_properties @additional_properties end |
#display_name ⇒ Object
The display name for a component.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 30 def display_name @display_name end |
#enabled ⇒ Object
Indicates whether the processor is enabled.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 33 def enabled @enabled end |
#id ⇒ Object
The unique identifier for this component. Used to reference this component in other parts of the pipeline.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_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_generate_metrics_v2_processor.rb', line 39 def include @include end |
#metrics ⇒ Object
Configuration for generating individual metrics.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 42 def metrics @metrics end |
#type ⇒ Object
The processor type. Always generate_metrics.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_v2_processor.rb', line 45 def type @type end |