0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Keep track of fails in Sidekiq jobs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 2.17.0
 Project Readme

Sidekiq::Jfails Gem Version Dependency Status Build Status Code Climate

Keeps track of fails in Sidekiq jobs in web and provides detailed information on the fail

Installation

Add this line to your application's Gemfile:

gem 'sidekiq-jfails', '~> 0.0.2'
# OR
gem 'sidekiq-jfails', git: 'git://github.com/sjke/sidekiq-jfails.git', tag: '0.0.2'

Usage

Simply having the gem in your Gemfile is enough to get you started. Your failed jobs will be visible via a Job fails tab in the Web.

Configuring

Maximum Count Fails

This parameter sets the count of tracking fails. Default of 10 000 maximum tracked fails.

To change the maximum count:

Sidekiq.configure_server do |config|
  config.jfails_max_count = 1590
end

To disable the limit entirely:

Sidekiq.configure_server do |config|
  config.jfails_max_count = 0
end

Fails per page

This parameter sets the count of fails displayed per page. Default of 10 fails per page.

To change the per page:

Sidekiq.configure_server do |config|
  config.fails_per_page = 15
end

Dependencies

Depends on Sidekiq >= 2.17

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b feature-desc)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin feature-desc)
  5. Create new Pull Request

License

Released under the MIT License. See the LICENSE file for further details.