Sha256: 345e6d39279f120282dc2f4647bba8ee2a1679e8e2ae74d1f5856fede8d0dc05

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

# Datadoge

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

Many thanks to [mm53bar](https://github.com/mm53bar) for the groundwork laid in [this gist](https://gist.github.com/mm53bar/4674071).

## Installation

Install the [Datadog Agent](https://app.datadoghq.com/account/settings#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](https://app.datadoghq.com/account/settings#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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadoge-0.0.3 README.md