struct ServiceRunner::Monitoring::Monitor

Defined in:

service_runner/monitoring/monitor.cr

Constant Summary

TICK = 1.second

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(service : Service, config : Monitoring::Config) #

[View source]

Class Method Detail

def self.my(service) #

[View source]

Instance Method Detail

def concurrent_jobs : Atomic(Int32) #

[View source]
def concurrent_jobs=(concurrent_jobs : Atomic(Int32)) #

[View source]

[View source]
def config=(config : ServiceRunner::Monitoring::Config) #

[View source]
def job_count : Atomic(UInt64) #

[View source]
def job_count=(job_count : Atomic(UInt64)) #

[View source]
def run_checks(start, done, job_count) #

[View source]
def seconds_today #

[View source]
def service : ServiceRunner::Service #

[View source]
def service=(service : ServiceRunner::Service) #

[View source]