Class: DatadogAPIClient::V1::SLOOverallStatuses

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

Overview

Overall status of the SLO by timeframes.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#errorObject

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



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

def error
  @error
end

#error_budget_remainingObject

Remaining error budget of the SLO in percentage.



28
29
30
# File 'lib/datadog_api_client/v1/models/slo_overall_statuses.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_overall_statuses.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_overall_statuses.rb', line 35

def raw_error_budget_remaining
  @raw_error_budget_remaining
end

#span_precisionObject

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



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

def span_precision
  @span_precision
end

#stateObject

State of the SLO.



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

def state
  @state
end

#statusObject

The status of the SLO.



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

def status
  @status
end

#targetObject

The target of the SLO.



47
48
49
# File 'lib/datadog_api_client/v1/models/slo_overall_statuses.rb', line 47

def target
  @target
end

#timeframeObject

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.



51
52
53
# File 'lib/datadog_api_client/v1/models/slo_overall_statuses.rb', line 51

def timeframe
  @timeframe
end