forked from sidekiq/sidekiq
-
Notifications
You must be signed in to change notification settings - Fork 0
Monitoring
mperham edited this page Mar 18, 2012
·
27 revisions
Sidekiq comes with a Sinatra application that can display the current state of a Sidekiq installation.
Add slim
and sinatra
(and sprockets
if you are on Rails 3.0) to your Gemfile
Add the following to your config/routes.rb
:
require 'sidekiq/web'
mount Sidekiq::Web => '/sidekiq'
Here's an example config.ru
for booting Sidekiq::Web in your choice of Rack server:
require 'sidekiq'
Sidekiq.configure_client do |config|
config.redis = { :size => 1 }
end
require 'sidekiq/web'
run Sidekiq::Web