Class: DatadogAPIClient::V1::SyntheticsUptime

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

Overview

Object containing the uptime information.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



43
44
45
# File 'lib/datadog_api_client/v1/models/synthetics_uptime.rb', line 43

def additional_properties
  @additional_properties
end

#errorsObject

An array of error objects returned while querying the history data for the service level objective.



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

def errors
  @errors
end

#groupObject

The location name



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

def group
  @group
end

#historyObject

The state transition history for the monitor, represented as an array of pairs. Each pair is an array where the first element is the transition timestamp in Unix epoch format (integer) and the second element is the state (integer). For the state, an integer value of 0 indicates uptime, 1 indicates downtime, and 2 indicates no data.



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

def history
  @history
end

#span_precisionObject

The number of decimal places to which the SLI value is accurate for the given from-to timestamps.



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

def span_precision
  @span_precision
end

#uptimeObject

The overall uptime.



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

def uptime
  @uptime
end