Class: DatadogAPIClient::V1::SearchSLOThreshold

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

Overview

SLO thresholds (target and optionally warning) for a single time window.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#targetObject

The target value for the service level indicator within the corresponding timeframe.



26
27
28
# File 'lib/datadog_api_client/v1/models/search_slo_threshold.rb', line 26

def target
  @target
end

#target_displayObject

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/search_slo_threshold.rb', line 33

def target_display
  @target_display
end

#timeframeObject

The SLO time window options.



36
37
38
# File 'lib/datadog_api_client/v1/models/search_slo_threshold.rb', line 36

def timeframe
  @timeframe
end

#warningObject

The warning value for the service level objective.



39
40
41
# File 'lib/datadog_api_client/v1/models/search_slo_threshold.rb', line 39

def warning
  @warning
end

#warning_displayObject

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.



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

def warning_display
  @warning_display
end