Skip to content

A plugin to check sidekiq connection with heartcheck

License

Notifications You must be signed in to change notification settings

magrathealabs/heartcheck-sidekiq

 
 

Repository files navigation

Heartcheck::Sidekiq

Build Status Code Climate Ebert

##A plugin to check sidekiq connection with heartcheck.

Installation

Add this line to your application's Gemfile:

gem 'heartcheck-sidekiq'

And then execute:

$ bundle

Or install it yourself as:

$ gem install heartcheck-sidekiq

Usage

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

License

Contributing

  1. Fork it ( https://github.com/locaweb/heartcheck-sidekiq/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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

About

A plugin to check sidekiq connection with heartcheck

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 87.7%
  • Shell 10.6%
  • Roff 1.7%