Module: ScoutApm::Instruments::Redis5ClientInstrumentationPrepend

Defined in:
lib/scout_apm/instruments/redis5.rb

Instance Method Summary collapse

Instance Method Details

#call(args, &block) ⇒ Object



49
50
51
52
53
54
55
# File 'lib/scout_apm/instruments/redis5.rb', line 49

def call(args, &block)
  command = args.first rescue "Unknown"
  
  self.class.instrument("Redis", command) do
    super(args, &block)
  end
end