Method: Tracebin::WorkerProcessMonitor.sidekiq_health_patch

Defined in:
lib/tracebin/worker_process_monitor.rb

.sidekiq_health_patchObject



16
17
18
19
20
21
22
# 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