Extra functionality for Sidekiq's web dashboard.
- Reset Buttons: Reset processed and failed counters directly from the dashboard. Clears both total counters and historical daily stats.
- Ruby >= 3.1
- Sidekiq >= 8.0
Add to your Gemfile:
gem "sidekiq-kicks"Then run:
bundle installIn your config/routes.rb:
require "sidekiq/web"
require "sidekiq/kicks/web"
mount Sidekiq::Web, at: "/sidekiq"That's it! Reset buttons (↻) will appear on the processed and failed stat boxes on the Sidekiq dashboard.
- Clicking a reset button shows a confirmation dialog
- Upon confirmation, both the total counter and all daily historical stats are cleared
- The page refreshes to show the updated (zeroed) counters
bin/setup
bundle exec rspecBug reports and pull requests are welcome on GitHub at https://github.com/akodkod/sidekiq-kicks.
The gem is available as open source under the terms of the MIT License.