Module: ScoutApm::Instruments::RedisClientInstrumentationPrepend
- Defined in:
- lib/scout_apm/instruments/redis.rb
Instance Method Summary collapse
Instance Method Details
#call(*args, &block) ⇒ Object
49 50 51 52 53 54 55 |
# File 'lib/scout_apm/instruments/redis.rb', line 49 def call(*args, &block) command = args.first.first rescue "Unknown" self.class.instrument("Redis", command) do super(*args, &block) end end |