Skip to content

Commit

Permalink
Disable ActiveMessaging instrumentation with disable_active_mq flag f…
Browse files Browse the repository at this point in the history
…or backwards compatibility
  • Loading branch information
Sam Goldstein committed Nov 8, 2011
1 parent d47e029 commit 39efa32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rpm_contrib/instrumentation/active_messaging.rb
Expand Up @@ -6,7 +6,8 @@
@name = :active_messaging

depends_on do
defined?(::ActiveMessaging::Processor) && !NewRelic::Control.instance['disable_active_messaging']
defined?(::ActiveMessaging::Processor) && !NewRelic::Control.instance['disable_active_messaging'] &&
!NewRelic::Control.instance['disable_active_mq']
end

executes do
Expand Down

0 comments on commit 39efa32

Please sign in to comment.