Permalink
Browse files

Mongodb instrumentation by John Nunemaker

  • Loading branch information...
1 parent 3706b92 commit 3b2e6a5fd442c5b0ec91072a0b9d82c377433af8 @bkayser bkayser committed Mar 8, 2010
Showing with 19 additions and 2 deletions.
  1. +4 −0 CHANGELOG
  2. +15 −2 README.md
View
@@ -1,3 +1,7 @@
+* Version 1.0.3
+
+ MongoDB instrumentation contributed by John Nunemaker
+
* Version 1.0.2
Improved Camping support
View
@@ -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.

0 comments on commit 3b2e6a5

Please sign in to comment.