Jane::Monitor::Check
Inherits JSON::Serializable < Reference < Object
Represents the result of a single check
Constructors
new(name : String, status : Symbol, current : String, threshold : String, message : String, tags : Array(String) = [] of String, description : Nil | String = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
alert?
Sourcecurrent
Sourcedescription
Sourcemessage
Sourcename
Sourceok?
Sourcestatus
Sourcetags
Sourcethreshold
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.