Class: DatadogAPIClient::V2::LogsCompute
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LogsCompute
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/logs_compute.rb
Overview
A compute rule to compute metrics or timeseries
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#aggregation ⇒ Object
readonly
An aggregation function.
-
#interval ⇒ Object
The time buckets’ size (only used for type=timeseries) Defaults to a resolution of 150 points.
-
#metric ⇒ Object
The metric to use.
-
#type ⇒ Object
The type of compute.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/logs_compute.rb', line 37 def additional_properties @additional_properties end |
#aggregation ⇒ Object
An aggregation function
25 26 27 |
# File 'lib/datadog_api_client/v2/models/logs_compute.rb', line 25 def aggregation @aggregation end |
#interval ⇒ Object
The time buckets’ size (only used for type=timeseries) Defaults to a resolution of 150 points
29 30 31 |
# File 'lib/datadog_api_client/v2/models/logs_compute.rb', line 29 def interval @interval end |
#metric ⇒ Object
The metric to use
32 33 34 |
# File 'lib/datadog_api_client/v2/models/logs_compute.rb', line 32 def metric @metric end |
#type ⇒ Object
The type of compute
35 36 37 |
# File 'lib/datadog_api_client/v2/models/logs_compute.rb', line 35 def type @type end |