Skip to content

Commit

Permalink
Mongodb instrumentation by John Nunemaker
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Kayser committed Mar 8, 2010
1 parent 3706b92 commit 3b2e6a5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* Version 1.0.3

MongoDB instrumentation contributed by John Nunemaker

* Version 1.0.2

Improved Camping support
Expand Down
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,22 @@ The `rpm_contrib` gem contains instrumentation for the New Relic RPM agent
contributed by the community of RPM users. It requires the RPM Agent
to run.

To use the contrib gem, just install the `rpm_contrib` gem off gemcutter
and add the gem dependency to your app, or just require rpm_contrib.
To use the contrib gem, install the `rpm_contrib` gem off gemcutter. It will
also install the required version of the `newrelic_rpm` gem if it's not
already installed.

For Rails 2.1 and later, add the dependency in your initializer:

config.gem 'rpm_contrib'

For other frameworks, make sure you load rubygems if it isn't already, then
just require the contrib gem:

require 'rubygems'
require 'rpm_contrib'

When you load the rpm_contrib gem, the `newrelic_rpm` gem will also be initialized.
No need for a separate require statement for `newrelic_rpm`.

**It's important that you don't load the newrelic_rpm gem separately.** The
`rpm_contrib` gem must be loaded before the `newrelic_rpm` gem initializes.
Expand Down

0 comments on commit 3b2e6a5

Please sign in to comment.