Module: Skylight::Probes::Redis::ClientInstrumentation 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
- #call(command) ⇒ Object private
Instance Method Details
#call(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.
12 13 14 15 16 17 18 19 20 |
# File 'lib/skylight/probes/redis.rb', line 12 def call(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 |