class

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)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

alert?
Source
current
Source
description
Source
message
Source
name
Source
status
Source
tags
Source
threshold
Source
to_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.

Source