Class: DatadogAPIClient::V1::SLOStatus

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/slo_status.rb

Overview

Status of the SLO’s primary timeframe.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



46
47
48
# File 'lib/datadog_api_client/v1/models/slo_status.rb', line 46

def additional_properties
  @additional_properties
end

#calculation_errorObject

Error message if SLO status or error budget could not be calculated.



25
26
27
# File 'lib/datadog_api_client/v1/models/slo_status.rb', line 25

def calculation_error
  @calculation_error
end

#error_budget_remainingObject

Remaining error budget of the SLO in percentage.



28
29
30
# File 'lib/datadog_api_client/v1/models/slo_status.rb', line 28

def error_budget_remaining
  @error_budget_remaining
end

#indexed_atObject

timestamp (UNIX time in seconds) of when the SLO status and error budget were calculated.



32
33
34
# File 'lib/datadog_api_client/v1/models/slo_status.rb', line 32

def indexed_at
  @indexed_at
end

#raw_error_budget_remainingObject

Error budget remaining for an SLO.



35
36
37
# File 'lib/datadog_api_client/v1/models/slo_status.rb', line 35

def raw_error_budget_remaining
  @raw_error_budget_remaining
end

#sliObject

The current service level indicator (SLI) of the SLO, also known as ‘status’. This is a percentage value from 0-100 (inclusive).



38
39
40
# File 'lib/datadog_api_client/v1/models/slo_status.rb', line 38

def sli
  @sli
end

#span_precisionObject

The number of decimal places the SLI value is accurate to.



41
42
43
# File 'lib/datadog_api_client/v1/models/slo_status.rb', line 41

def span_precision
  @span_precision
end

#stateObject

State of the SLO.



44
45
46
# File 'lib/datadog_api_client/v1/models/slo_status.rb', line 44

def state
  @state
end