Class: DatadogAPIClient::V2::LogsMetricCreateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LogsMetricCreateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb
Overview
The object describing the Datadog log-based metric to create.
Instance Attribute Summary collapse
-
#compute ⇒ Object
readonly
The compute rule to compute the log-based metric.
-
#filter ⇒ Object
The log-based metric filter.
-
#group_by ⇒ Object
The rules for the group by.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#compute ⇒ Object
The compute rule to compute the log-based metric.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb', line 29 def compute @compute end |
#filter ⇒ Object
The log-based metric filter. Logs matching this filter will be aggregated in this metric.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb', line 32 def filter @filter end |
#group_by ⇒ Object
The rules for the group by.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb', line 35 def group_by @group_by end |