Sidekiq Kicks

Extra functionality for Sidekiq's web dashboard.

Features

  • Reset Buttons: Reset processed and failed counters directly from the dashboard. Clears both total counters and historical daily stats.

Requirements

  • Ruby >= 3.1
  • Sidekiq >= 8.0

Installation

Add to your Gemfile:

gem "sidekiq-kicks"

Then run:

bundle install

Usage

In 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.

How It Works

  • 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

Development

bin/setup
bundle exec rspec

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/akodkod/sidekiq-kicks.

License

The gem is available as open source under the terms of the MIT License.