Livestation::Healthcheck
Ultra-basic status healthcheck for Rack, allowing load balancers to test your app is available without having to hit the full stack.
Full credit should go to VigetLabs for the code outline.
Installation
Add this line to your application's Gemfile:
gem 'livestation-healthcheck'
And then execute:
$ bundle
Or install it yourself as:
$ gem install livestation-healthcheck
Usage
Add the middleware into your Rails application.rb
config.middleware.use "Livestation::Healthcheck::Middleware"
Contributing
- Fork it
- 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 new Pull Request