From 3b2e6a5fd442c5b0ec91072a0b9d82c377433af8 Mon Sep 17 00:00:00 2001 From: Bill Kayser Date: Mon, 8 Mar 2010 09:13:58 -0800 Subject: [PATCH] Mongodb instrumentation by John Nunemaker --- CHANGELOG | 4 ++++ README.md | 17 +++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index be5c3ff..c5bd775 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +* Version 1.0.3 + + MongoDB instrumentation contributed by John Nunemaker + * Version 1.0.2 Improved Camping support diff --git a/README.md b/README.md index a8fce5f..8dd0119 100644 --- a/README.md +++ b/README.md @@ -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.