Class: DatadogAPIClient::V1::SLOTimeSliceCondition
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SLOTimeSliceCondition
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/slo_time_slice_condition.rb
Overview
The time-slice condition, composed of 3 parts: 1. the metric timeseries query, 2. the comparator, and 3. the threshold. Optionally, a fourth part, the query interval, can be provided.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#comparator ⇒ Object
readonly
The comparator used to compare the SLI value to the threshold.
-
#query ⇒ Object
readonly
The queries and formula used to calculate the SLI value.
-
#query_interval_seconds ⇒ Object
The interval used when querying data, which defines the size of a time slice.
-
#threshold ⇒ Object
readonly
The threshold value to which each SLI value will be compared.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v1/models/slo_time_slice_condition.rb', line 39 def additional_properties @additional_properties end |
#comparator ⇒ Object
The comparator used to compare the SLI value to the threshold.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/slo_time_slice_condition.rb', line 26 def comparator @comparator end |
#query ⇒ Object
The queries and formula used to calculate the SLI value.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/slo_time_slice_condition.rb', line 29 def query @query end |
#query_interval_seconds ⇒ Object
The interval used when querying data, which defines the size of a time slice. Two values are allowed: 60 (1 minute) and 300 (5 minutes). If not provided, the value defaults to 300 (5 minutes).
34 35 36 |
# File 'lib/datadog_api_client/v1/models/slo_time_slice_condition.rb', line 34 def query_interval_seconds @query_interval_seconds end |
#threshold ⇒ Object
The threshold value to which each SLI value will be compared.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/slo_time_slice_condition.rb', line 37 def threshold @threshold end |