Class: DatadogAPIClient::V2::ObservabilityPipelineGeneratedMetric
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineGeneratedMetric
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/observability_pipeline_generated_metric.rb
Overview
Defines a log-based custom metric, including its name, type, filter, value computation strategy, and optional grouping fields.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#group_by ⇒ Object
Optional fields used to group the metric series.
-
#include ⇒ Object
readonly
Datadog filter query to match logs for metric generation.
-
#metric_type ⇒ Object
readonly
Type of metric to create.
-
#name ⇒ Object
readonly
Name of the custom metric to be created.
-
#value ⇒ Object
readonly
Specifies how the value of the generated metric is computed.
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_generated_metric.rb', line 40 def additional_properties @additional_properties end |
#group_by ⇒ Object
Optional fields used to group the metric series.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generated_metric.rb', line 26 def group_by @group_by end |
#include ⇒ Object
Datadog filter query to match logs for metric generation.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generated_metric.rb', line 29 def include @include end |
#metric_type ⇒ Object
Type of metric to create.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generated_metric.rb', line 32 def metric_type @metric_type end |
#name ⇒ Object
Name of the custom metric to be created.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generated_metric.rb', line 35 def name @name end |
#value ⇒ Object
Specifies how the value of the generated metric is computed.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_generated_metric.rb', line 38 def value @value end |