Class: DatadogAPIClient::V2::LogsMetricCompute
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LogsMetricCompute
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/logs_metric_compute.rb
Overview
The compute rule to compute the log-based metric.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#aggregation_type ⇒ Object
readonly
The type of aggregation to use.
-
#include_percentiles ⇒ Object
Toggle to include or exclude percentile aggregations for distribution metrics.
-
#path ⇒ Object
The path to the value the log-based metric will aggregate on (only used if the aggregation type is a “distribution”).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/logs_metric_compute.rb', line 34 def additional_properties @additional_properties end |
#aggregation_type ⇒ Object
The type of aggregation to use.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/logs_metric_compute.rb', line 25 def aggregation_type @aggregation_type end |
#include_percentiles ⇒ Object
Toggle to include or exclude percentile aggregations for distribution metrics. Only present when the ‘aggregation_type` is `distribution`.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/logs_metric_compute.rb', line 29 def include_percentiles @include_percentiles end |
#path ⇒ Object
The path to the value the log-based metric will aggregate on (only used if the aggregation type is a “distribution”).
32 33 34 |
# File 'lib/datadog_api_client/v2/models/logs_metric_compute.rb', line 32 def path @path end |