Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
The project is called ActiveMessaging. ActiveMQ is a broker.
Browse files Browse the repository at this point in the history
  • Loading branch information
loe committed Nov 7, 2011
1 parent dd2535c commit 55efed0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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

Expand Down
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion rpm_contrib.gemspec
Expand Up @@ -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",
Expand Down

0 comments on commit 55efed0

Please sign in to comment.