Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mscoutermarsh/whats_up_doc
Provides a low-level up route for load balancers.
https://github.com/mscoutermarsh/whats_up_doc
Last synced: about 1 month ago
JSON representation
Provides a low-level up route for load balancers.
- Host: GitHub
- URL: https://github.com/mscoutermarsh/whats_up_doc
- Owner: mscoutermarsh
- License: mit
- Created: 2014-04-16T23:57:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-16T23:58:33.000Z (over 10 years ago)
- Last Synced: 2024-10-12T19:24:36.021Z (2 months ago)
- Language: Ruby
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# WhatsUpDoc
Responds with `200` for a specific path. Useful for load balancers to hit without needing to go through the whole rails
stack. Insert before logging middleware, so that a load balancer doesn't pollute your log with requests.## Installation
Add this line to your application's Gemfile:
gem 'whats_up_doc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install whats_up_doc
## Usage
In a rackup file:
``` ruby
use WhatsUpDoc::Middleware, path: '/my-up-path'
```Or in Rails (config/application.rb):
``` ruby
config.middleware.use(WhatsUpDoc::Middleware, path: '/my-up-path')
```The default path is `/up`.
## Contributing
1. Fork it ( http://github.com/secondrotation/whats_up_doc/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 new Pull Request