struct

ServiceRunner::Monitoring::Config

Inherits JSON::Serializable < YAML::Serializable < Struct < Value < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

from_service_config(name : String)
Source

Instance methods

check_container_present

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

Source
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

Source
check_exe

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

Source
check_exe=(check_exe : Array(ExecutionResult))

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

Source
check_http

a list of HTTP queries to check

Source
check_http=(check_http : Array(HTTPResult))

a list of HTTP queries to check

Source
check_internal_command

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

Source
check_internal_command=(check_internal_command : Array(InternalCommand))

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

Source
check_shell_command

list of shell commands to check

Source
check_shell_command=(check_shell_command : Array(ShellResult))

list of shell commands to check

Source

Nested types