Class: DatadogAPIClient::V1::SyntheticsUptime
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SyntheticsUptime
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/synthetics_uptime.rb
Overview
Object containing the uptime information.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#errors ⇒ Object
An array of error objects returned while querying the history data for the service level objective.
-
#group ⇒ Object
The location name.
-
#history ⇒ Object
The state transition history for the monitor, represented as an array of pairs.
-
#span_precision ⇒ Object
The number of decimal places to which the SLI value is accurate for the given from-to timestamps.
-
#uptime ⇒ Object
The overall uptime.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#errors ⇒ Object
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 |
#group ⇒ Object
The location name
28 29 30 |
# File 'lib/datadog_api_client/v1/models/synthetics_uptime.rb', line 28 def group @group end |
#history ⇒ Object
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_precision ⇒ Object
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 |
#uptime ⇒ Object
The overall uptime.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/synthetics_uptime.rb', line 41 def uptime @uptime end |