class Dogapi::V1::MonitorService

Defined in:

dogapi/v1/monitor.cr

Instance Method Summary

Instance methods inherited from class Dogapi::APIService

handle_response(resp) handle_response, prepare_params(extra_params, with_app_key) prepare_params, request(method, url, extra_params, body, send_json, with_app_key = true) request, suppress_error_if_silent(e) suppress_error_if_silent

Constructor methods inherited from class Dogapi::APIService

new(api_key : String, application_key : Nil | String = nil, silent : Bool = true, timeout : Int32 | Nil = nil, endpoint : Nil | String = nil) new

Instance Method Detail

def cancel_downtime(downtime_id) #

[View source]
def cancel_downtime_by_scope(scope) #

[View source]
def delete_monitor(monitor_id) #

[View source]
def get_all_downtimes #

[View source]
def get_all_monitors(options = {} of String => String) #

[View source]
def get_downtime(downtime_id) #

[View source]
def get_monitor(monitor_id, options = {} of String => String) #

[View source]
def monitor(type, query, options = {} of String => String) #

[View source]
def mute_host(hostname, options = {} of String => String) #

[View source]
def mute_monitor(monitor_id, options = {} of String => String) #

[View source]
def mute_monitors #

[View source]
def schedule_downtime(scope, options = {} of String => String) #

[View source]
def search_monitor_groups(options = {} of String => String) #

[View source]
def search_monitors(options = {} of String => String) #

[View source]
def unmute_host(hostname) #

[View source]
def unmute_monitor(monitor_id, options = {} of String => String) #

[View source]
def unmute_monitors #

[View source]
def update_downtime(downtime_id, options = {} of String => String) #

[View source]
def update_monitor(monitor_id, query, options) #

[View source]
def validate_monitor(type, query, options = {} of String => String) #

[View source]