Module: Skylight::Probes::Redis::ClientInstrumentationV5 Private

Defined in:
lib/skylight/probes/redis.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#call_v(command) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



24
25
26
27
28
29
30
31
32
# File 'lib/skylight/probes/redis.rb', line 24

def call_v(command)
  command_name = command[0]

  return super if command_name == :auth

  opts = { category: "db.redis.command", title: command_name.upcase.to_s, internal: true }

  Skylight.instrument(opts) { super }
end