class Tracebin::WorkerProcessMonitor

Public Class Methods

sidekiq_health_patch() click to toggle source
# File lib/tracebin/worker_process_monitor.rb, line 16
def sidekiq_health_patch
  return unless defined? ::Sidekiq

  ::Tracebin::Patches.patch_sidekiq_health do |health_data|
    ::Tracebin::PuppetMaster.new(health_data, logger: ::Sidekiq::Logging.logger).process
  end
end
start() click to toggle source
# File lib/tracebin/worker_process_monitor.rb, line 7
def start
  sidekiq_health_patch

  self
end
stop!() click to toggle source
# File lib/tracebin/worker_process_monitor.rb, line 13
def stop!
end