https://github.com/unix4ever/grape-datadog
Datadog stats reporter for Grape
https://github.com/unix4ever/grape-datadog
Last synced: 11 months ago
JSON representation
Datadog stats reporter for Grape
- Host: GitHub
- URL: https://github.com/unix4ever/grape-datadog
- Owner: Unix4ever
- License: mit
- Created: 2014-12-10T22:21:34.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-17T10:34:21.000Z (over 10 years ago)
- Last Synced: 2025-01-23T01:28:52.229Z (about 1 year ago)
- Language: Ruby
- Size: 232 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
grape-datadog
=============
Datadog stats reporter for [Grape][0], based on code from [this Librato
gem][1], which is based on [this NewRelic gem][2], using [dogstatsd-ruby][3]
## 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 Datadog::Grape::Middleware
get 'hello' do
"Hello World"
end
end
## 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. Make a pull request
[0]: https://github.com/intridea/grape
[1]: https://github.com/seanmoon/grape-librato
[2]: https://github.com/flyerhzm/newrelic-grape
[3]: https://github.com/DataDog/dogstatsd-ruby