Sha256: 58fafffae302e82e2bcc3a987a4ef088f3c272b033b1f275f648ce4954228504

Contents?: true

Size: 310 Bytes

Versions: 25

Compression:

Stored size: 310 Bytes

Contents

# Get an SLO's history returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::ServiceLevelObjectivesAPI.new

# there is a valid "slo" in the system
SLO_DATA_0_ID = ENV["SLO_DATA_0_ID"]
p api_instance.get_slo_history(SLO_DATA_0_ID, (Time.now + -1 * 86400).to_i, Time.now.to_i)

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.27.1 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.26.1 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.26.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.25.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.24.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.22.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.21.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.20.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.19.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.18.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.17.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.16.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.15.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.14.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.13.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.12.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.11.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.10.0 examples/v1/service-level-objectives/GetSLOHistory.rb
datadog_api_client-2.9.0 examples/v1/service-level-objectives/GetSLOHistory.rb