Class: DatadogAPIClient::V1::ServiceCheck

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#checkObject

The check.



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

def check
  @check
end

#host_nameObject

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

#messageObject

Message containing check status.



31
32
33
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 31

def message
  @message
end

#statusObject

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

#tagsObject

Tags related to a check.



37
38
39
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 37

def tags
  @tags
end

#timestampObject

Time of check.



40
41
42
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 40

def timestamp
  @timestamp
end