Class: DatadogAPIClient::V1::ServiceCheck
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::ServiceCheck
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/service_check.rb
Overview
An object containing service check and status.
Instance Attribute Summary collapse
-
#check ⇒ Object
readonly
The check.
-
#host_name ⇒ Object
readonly
The host name correlated with the check.
-
#message ⇒ Object
Message containing check status.
-
#status ⇒ Object
readonly
The status of a service check.
-
#tags ⇒ Object
readonly
Tags related to a check.
-
#timestamp ⇒ Object
Time of check.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#check ⇒ Object
The check.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 29 def check @check end |
#host_name ⇒ Object
The host name correlated with the check.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 32 def host_name @host_name end |
#message ⇒ Object
Message containing check status.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 35 def end |
#status ⇒ Object
The status of a service check. Set to 0 for OK, 1 for warning, 2 for critical, and 3 for unknown.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 38 def status @status end |
#tags ⇒ Object
Tags related to a check.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 41 def end |
#timestamp ⇒ Object
Time of check.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 44 def end |