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

#checkObject

The check.



29
30
31
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 29

def check
  @check
end

#host_nameObject

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

#messageObject

Message containing check status.



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

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.



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

def status
  @status
end

#tagsObject

Tags related to a check.



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

def tags
  @tags
end

#timestampObject

Time of check.



44
45
46
# File 'lib/datadog_api_client/v1/models/service_check.rb', line 44

def timestamp
  @timestamp
end