##A plugin to check sidekiq connection with heartcheck.
Add this line to your application's Gemfile:
gem 'heartcheck-sidekiq'
And then execute:
$ bundle
Or install it yourself as:
$ gem install heartcheck-sidekiq
You can check any sidekiq connection that there's in your app.
Heartcheck.setup do |config|
config.add :sidekiq do |c|
c.name = 'redis'
end
end
Check Heartcheck example here
- Fork it ( https://github.com/locaweb/heartcheck-sidekiq/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
In order to make it easier for your development, we added a docker dev environment so that you don't need to install ruby and it's dependencies via rbenv or rvm.
Just do your setup locally by running:
./scripts/heartcheck setup
Run ./scripts/heartcheck -h
to see options available