Sha256: 087ab90543f39d8c2387d5391f9720caea7f053e7009a538254df0cfe71ffe35
Contents?: true
Size: 642 Bytes
Versions: 21
Compression:
Stored size: 642 Bytes
Contents
# Instrumented WorkerBase module RestFtpDaemon class Worker < BmcDaemonLib::WorkerBase include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation # NewRelic instrumentation add_transaction_tracer :worker_init, category: :task add_transaction_tracer :worker_after, category: :task add_transaction_tracer :worker_process, category: :task protected def log_context { wid: Thread.current.thread_variable_get(:wid), jid: Thread.current.thread_variable_get(:jid), } end def disabled? value value.nil? || value === false || value == 0 end end end
Version data entries
21 entries across 21 versions & 1 rubygems