grape-datadog
Datadog stats reporter for Grape, based on code from this Librato gem, which is based on this NewRelic gem, using dogstatsd-ruby
Installation
Add this line to your application's Gemfile:
gem 'grape-datadog'
Or install:
$ gem install grape-datadog
Include it in your Grape API like this:
class TestAPI < Grape::API
use Grape::Datadog::Middleware
get 'hello' do
"Hello World"
end
end
For full configuration options, please see the Documentation.
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) - Make a pull request