module Qless::Middleware::Metriks::TimeJobsByClass
Tracks the time jobs take, grouping the timings by the job class.
Public Instance Methods
around_perform(job)
click to toggle source
Calls superclass method
# File lib/qless/middleware/metriks.rb, line 11 def around_perform(job) ::Metriks.timer("qless.job-times.#{job.klass_name}").time do super end end