Module: NewRelic::Agent::Instrumentation::Redis::Prepend

Includes:
NewRelic::Agent::Instrumentation::Redis
Defined in:
lib/new_relic/agent/instrumentation/redis/prepend.rb

Constant Summary

Constants included from NewRelic::Agent::Instrumentation::Redis

INSTRUMENTATION_NAME

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::Redis

#call_pipeline_with_tracing, #call_pipelined_with_tracing, #call_with_tracing, #connect_with_tracing

Instance Method Details

#call(*args, &block) ⇒ Object

Defined in version 4.x, 3.x



16
17
18
# File 'lib/new_relic/agent/instrumentation/redis/prepend.rb', line 16

def call(*args, &block)
  call_with_tracing(args[0]) { super }
end

#call_pipeline(*args, &block) ⇒ Object



20
21
22
# File 'lib/new_relic/agent/instrumentation/redis/prepend.rb', line 20

def call_pipeline(*args, &block)
  call_pipeline_with_tracing(args[0]) { super }
end

#call_v(*args, &block) ⇒ Object

Defined in version 5.x+



11
12
13
# File 'lib/new_relic/agent/instrumentation/redis/prepend.rb', line 11

def call_v(*args, &block)
  call_with_tracing(args[0]) { super }
end

#connect(*args, &block) ⇒ Object



24
25
26
# File 'lib/new_relic/agent/instrumentation/redis/prepend.rb', line 24

def connect(*args, &block)
  connect_with_tracing { super }
end