Skip to content

A simple Datadog integration to report on Rails application performance.

License

Notifications You must be signed in to change notification settings

waterfield/datadoge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datadoge

This gem is notified of basic performance metrics for a Rails application, and sends the measurements to DataDog.

Many thanks to mm53bar for the groundwork laid in this gist.

Installation

Install the Datadog Agent on your application server. This gem only works on servers which have the Datadog Agent installed.

Add this line to your application's Gemfile:

gem 'datadoge'

And then execute:

$ bundle

Or install it yourself as:

$ gem install datadoge

Usage

By default, performance metrics are only reported to Datadog from production environments which have the Datadog agent installed.

To enable Datadog reporting in non-production environments, add the following to an initializer:

Datadoge.configure do |config|
  config.environments = ['staging', 'production']
end

Contributing

  1. Fork it ( https://github.com/metova/datadoge/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 a new Pull Request

About

A simple Datadog integration to report on Rails application performance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%