No commit activity in last 3 years
No release in over 3 years
Save and analyze your workers statistics
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.0
~> 0.6
~> 11.3

Runtime

>= 3.3, < 5
>= 4.1.4, < 7.0
 Project Readme

sidekiq-worker_stats

Statistics for sidekiq workers

CircleCI

The following statistics are saved for analysis:

  • Start Time
  • Stop Time
  • Runtime
  • Memory

Installation

Add sidekiq-worker_stats to your Gemfile

gem 'sidekiq-worker_stats'

and install

$ bundle install

then simply require sidekiq/worker_stats after your sidekiq requirement.

require 'sidekiq'
require 'sidekiq/worker_stats'

Sidekiq web - worker_stats tab

Require sidekiq/worker_stats/web after sidekiq/web.

require 'sidekiq/web'
require 'sidekiq/worker_stats/web'

Configuration

By default sidekiq-worker_stats is disabled for every worker. To activate include worker_stats_enabled: true in your sidekiq_options.

All configurations you can include on sidekiq_options

Configuration Type Default Description
worker_stats_enabled boolean false Whether worker_stats should be enabled for this worker or not
worker_stats_mem_sleep number 5 How many seconds to wait between each memory measurement
worker_stats_max_samples number 1000 How many samples to keep for a given worker, it will delete the oldest samples first