Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

datadog_apm

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datadog_apm

  • 0.9.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

DatadogApm

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

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 'datadog_apm'

And then execute:

$ bundle

Or install it yourself as:

$ gem install datadog_apm

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:

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

To add additional tags, add the following to the configuration:

config.tags = ['role:myapp', 'host:myapp-1', 'region:east']

Override the default metric name with the following configuration:

config.metric = :apm

Contributing

  1. Fork it ( https://github.com/johnpipi/datadog_apm/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

FAQs

Package last updated on 08 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc