From 55efed012b1f4006719248d8b823309a0ace396e Mon Sep 17 00:00:00 2001 From: "W. Andrew Loe III" Date: Mon, 7 Nov 2011 14:20:08 -0800 Subject: [PATCH] The project is called ActiveMessaging. ActiveMQ is a broker. --- README.md | 4 ++-- .../instrumentation/{active_mq.rb => active_messaging.rb} | 8 ++++---- rpm_contrib.gemspec | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename lib/rpm_contrib/instrumentation/{active_mq.rb => active_messaging.rb} (66%) diff --git a/README.md b/README.md index ddf8814..f6f66b3 100644 --- a/README.md +++ b/README.md @@ -48,11 +48,11 @@ and examine the `newrelic_agent.log` file for errors after restarting your app. A number of frameworks are supported in the contrib gem. They are all turned on by default but you can add settings to your newrelic.yml to disable any of them. -### ActiveMQ +### ActiveMessaging The gem will detect the underlying ActiveMessaging::Processor class and instrument the `on_message` method -It can be disabled with the `disable_active_mq` flag in your newrelic.yml file. +It can be disabled with the `disable_active_messaging` flag in your newrelic.yml file. ### Cassandra diff --git a/lib/rpm_contrib/instrumentation/active_mq.rb b/lib/rpm_contrib/instrumentation/active_messaging.rb similarity index 66% rename from lib/rpm_contrib/instrumentation/active_mq.rb rename to lib/rpm_contrib/instrumentation/active_messaging.rb index f154a94..4547dc5 100644 --- a/lib/rpm_contrib/instrumentation/active_mq.rb +++ b/lib/rpm_contrib/instrumentation/active_messaging.rb @@ -1,16 +1,16 @@ -# == ActiveMQ Instrumentation == +# == ActiveMessaging Instrumentation == # Robert R. Meyer # Blue-Dog-Archolite @ GitHub DependencyDetection.defer do - @name = :active_mq + @name = :active_messaging depends_on do - defined?(::ActiveMessaging::Processor) && !NewRelic::Control.instance['disable_active_mq'] + defined?(::ActiveMessaging::Processor) && !NewRelic::Control.instance['disable_active_messaging'] end executes do - NewRelic::Agent.logger.debug 'Installing ActiveMQ instrumentation' + NewRelic::Agent.logger.debug 'Installing ActiveMessaging instrumentation' end executes do diff --git a/rpm_contrib.gemspec b/rpm_contrib.gemspec index 7573c79..618ab58 100644 --- a/rpm_contrib.gemspec +++ b/rpm_contrib.gemspec @@ -30,7 +30,7 @@ the New Relic Ruby monitoring gem newrelic_rpm. "lib/rpm_contrib/detection.rb", "lib/rpm_contrib/detection/camping.rb", "lib/rpm_contrib/instrumentation.rb", - "lib/rpm_contrib/instrumentation/active_mq.rb", + "lib/rpm_contrib/instrumentation/active_messaging.rb", "lib/rpm_contrib/instrumentation/aws.rb", "lib/rpm_contrib/instrumentation/camping.rb", "lib/rpm_contrib/instrumentation/cassandra.rb",