RailsRiemannMiddleware
A middleware to add to your rails application that sends request duration metrics and exception notifications to Riemann.
Installation
Add this line to your application's Gemfile:
gem 'rails_riemann_middleware'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails_riemann_middleware
Usage
Add the following to your specific rails enviroment.
config.middleware.use(RailsRiemannMiddleware::Notifier,
:riemann_host => "riemann_host_name")
Running Tests
To run the tests use:
$ bundle exec rake test
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request