module NewRelic::Agent::Instrumentation::RedisClient::ClusterMiddleware
Public Instance Methods
call(*args, &block)
click to toggle source
Until we decide to move our Redis
instrumentation entirely off patches keep the middleware instrumentation for the call and connect methods limited to the redis-clustering instrumentation.
Redis’s middleware option does not capture errors as high in the stack as our patches. Leaving the patches for call and connect on the main Redis
gem limits the feature disparity our customers experience.
Calls superclass method
# File lib/new_relic/agent/instrumentation/redis/cluster_middleware.rb, line 17 def call(*args, &block) call_with_tracing(args[0]) { super } end
connect(*args, &block)
click to toggle source
Calls superclass method
# File lib/new_relic/agent/instrumentation/redis/cluster_middleware.rb, line 21 def connect(*args, &block) connect_with_tracing { super } end