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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#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
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
42 43 44 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 42 def additional_properties @additional_properties end |
#check ⇒ Object
The check.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 25 def check @check end |
#host_name ⇒ Object
The host name correlated with the check.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 28 def host_name @host_name end |
#message ⇒ Object
Message containing check status.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 31 def @message end |
#status ⇒ Object
The status of a service check. Set to ‘0` for OK, `1` for warning, `2` for critical, and `3` for unknown.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 34 def status @status end |
#tags ⇒ Object
Tags related to a check.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 37 def @tags end |
#timestamp ⇒ Object
Time of check.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 40 def @timestamp end |