struct ServiceRunner::Monitoring::Config

Included Modules

Defined in:

service_runner/monitoring/config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.from_service_config(name : String) #

[View source]

Instance Method Detail

def check_container_present : String | Bool #

set to false to cancel a regular check for a container with the same name as the service, or a string representing the name of the service to check for


[View source]
def check_container_present=(check_container_present : String | Bool) #

set to false to cancel a regular check for a container with the same name as the service, or a string representing the name of the service to check for


[View source]
def check_exe : Array(ExecutionResult) #

list of commands to execute with specific arguments. Shell substitution is not available in this mode.


[View source]
def check_exe=(check_exe : Array(ExecutionResult)) #

list of commands to execute with specific arguments. Shell substitution is not available in this mode.


[View source]
def check_http : Array(HTTPResult) #

a list of HTTP queries to check


[View source]
def check_http=(check_http : Array(HTTPResult)) #

a list of HTTP queries to check


[View source]
def check_internal_command : Array(InternalCommand) #

a list of commands to run inside the container as a check


[View source]
def check_internal_command=(check_internal_command : Array(InternalCommand)) #

a list of commands to run inside the container as a check


[View source]
def check_shell_command : Array(ShellResult) #

list of shell commands to check


[View source]
def check_shell_command=(check_shell_command : Array(ShellResult)) #

list of shell commands to check


[View source]