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

  1. Fork it
  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 new Pull Request