Class: DatadogAPIClient::V1::SLOThreshold
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SLOThreshold
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/slo_threshold.rb
Overview
SLO thresholds (target and optionally warning) for a single time window.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#target ⇒ Object
readonly
The target value for the service level indicator within the corresponding timeframe.
-
#target_display ⇒ Object
A string representation of the target that indicates its precision.
-
#timeframe ⇒ Object
readonly
The SLO time window options.
-
#warning ⇒ Object
The warning value for the service level objective.
-
#warning_display ⇒ Object
A string representation of the warning target (see the description of the ‘target_display` field for details).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/slo_threshold.rb', line 49 def additional_properties @additional_properties end |
#target ⇒ Object
The target value for the service level indicator within the corresponding timeframe.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/slo_threshold.rb', line 26 def target @target end |
#target_display ⇒ Object
A string representation of the target that indicates its precision. It uses trailing zeros to show significant decimal places (for example ‘98.00`).
Always included in service level objective responses. Ignored in create/update requests.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/slo_threshold.rb', line 33 def target_display @target_display end |
#timeframe ⇒ Object
The SLO time window options. Note that “custom” is not a valid option for creating or updating SLOs. It is only used when querying SLO history over custom timeframes.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/slo_threshold.rb', line 37 def timeframe @timeframe end |
#warning ⇒ Object
The warning value for the service level objective.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/slo_threshold.rb', line 40 def warning @warning end |
#warning_display ⇒ Object
A string representation of the warning target (see the description of the ‘target_display` field for details).
Included in service level objective responses if a warning target exists. Ignored in create/update requests.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/slo_threshold.rb', line 47 def warning_display @warning_display end |