lib/pliny/sidekiq/middleware/server/log.rb in pliny-sidekiq-0.1.1 vs lib/pliny/sidekiq/middleware/server/log.rb in pliny-sidekiq-0.1.2
- old
+ new
@@ -6,9 +6,10 @@
end
def call(worker, job, queue)
context = {
sidekiq: true,
+ job: job['class'],
job_id: job['jid'],
}
Pliny.context(context) do
count("worker.#{worker.class.to_s.gsub('::', '.')}")