module Resque::Plugins::JobStats::Timeseries::Performed
Public Instance Methods
after_perform_job_stats_timeseries(*args)
click to toggle source
Increments the performed count for the timestamp when job is complete
# File lib/resque/plugins/job_stats/timeseries.rb, line 82 def after_perform_job_stats_timeseries(*args) incr_timeseries(:performed) end
performed_per_hour()
click to toggle source
Hash of timeseries data over the last 24 hours for completed jobs
# File lib/resque/plugins/job_stats/timeseries.rb, line 92 def performed_per_hour timeseries_data(:performed, 24, :hours) end
performed_per_minute()
click to toggle source
Hash of timeseries data over the last 60 minutes for completed jobs
# File lib/resque/plugins/job_stats/timeseries.rb, line 87 def performed_per_minute timeseries_data(:performed, 60, :minutes) end