Class: DatadogAPIClient::V1::SLOHistoryResponseData
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SLOHistoryResponseData
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/slo_history_response_data.rb
Overview
An array of service level objective objects.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#from_ts ⇒ Object
The ‘from` timestamp in epoch seconds.
-
#group_by ⇒ Object
For ‘metric` based SLOs where the query includes a group-by clause, this represents the list of grouping parameters.
-
#groups ⇒ Object
For grouped SLOs, this represents SLI data for specific groups.
-
#monitors ⇒ Object
For multi-monitor SLOs, this represents SLI data for specific monitors.
-
#overall ⇒ Object
An object that holds an SLI value and its associated data.
-
#series ⇒ Object
A ‘metric` based SLO history response.
-
#thresholds ⇒ Object
mapping of string timeframe to the SLO threshold.
-
#to_ts ⇒ Object
The ‘to` timestamp in epoch seconds.
-
#type ⇒ Object
The type of the service level objective.
-
#type_id ⇒ Object
A numeric representation of the type of the service level objective (‘0` for monitor, `1` for metric).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
65 66 67 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 65 def additional_properties @additional_properties end |
#from_ts ⇒ Object
The ‘from` timestamp in epoch seconds.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 25 def from_ts @from_ts end |
#group_by ⇒ Object
For ‘metric` based SLOs where the query includes a group-by clause, this represents the list of grouping parameters.
This is not included in responses for ‘monitor` based SLOs.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 30 def group_by @group_by end |
#groups ⇒ Object
For grouped SLOs, this represents SLI data for specific groups.
This is not included in the responses for ‘metric` based SLOs.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 35 def groups @groups end |
#monitors ⇒ Object
For multi-monitor SLOs, this represents SLI data for specific monitors.
This is not included in the responses for ‘metric` based SLOs.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 40 def monitors @monitors end |
#overall ⇒ Object
An object that holds an SLI value and its associated data. It can represent an SLO’s overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 44 def overall @overall end |
#series ⇒ Object
A ‘metric` based SLO history response.
This is not included in responses for ‘monitor` based SLOs.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 49 def series @series end |
#thresholds ⇒ Object
mapping of string timeframe to the SLO threshold.
52 53 54 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 52 def thresholds @thresholds end |
#to_ts ⇒ Object
The ‘to` timestamp in epoch seconds.
55 56 57 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 55 def to_ts @to_ts end |
#type ⇒ Object
The type of the service level objective.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 58 def type @type end |
#type_id ⇒ Object
A numeric representation of the type of the service level objective (‘0` for monitor, `1` for metric). Always included in service level objective responses. Ignored in create/update requests.
63 64 65 |
# File 'lib/datadog_api_client/v1/models/slo_history_response_data.rb', line 63 def type_id @type_id end |