lib/new_relic/agent/instrumentation/redis.rb in newrelic_rpm-6.13.1 vs lib/new_relic/agent/instrumentation/redis.rb in newrelic_rpm-6.14.0
- old
+ new
@@ -35,10 +35,10 @@
DependencyDetection.defer do
# Why not :redis? newrelic-redis used that name, so avoid conflicting
named :redis_instrumentation
depends_on do
- defined? ::Redis
+ defined? ::Redis::VERSION
end
depends_on do
NewRelic::Agent.config[:disable_redis] == false
end