Class: DatadogAPIClient::V1::SLOHistoryResponseData

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_tsObject

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_byObject

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

#groupsObject

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

#monitorsObject

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

#overallObject

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

#seriesObject

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

#thresholdsObject

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_tsObject

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

#typeObject

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_idObject

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