Module: Appsignal::Integrations::RedisIntegration
- Defined in:
 - lib/appsignal/integrations/redis.rb
 
Instance Method Summary collapse
Instance Method Details
#write(command) ⇒ Object
      6 7 8 9 10 11 12 13 14 15 16 17  | 
    
      # File 'lib/appsignal/integrations/redis.rb', line 6 def write(command) sanitized_command = if command[0] == :eval "#{command[1]}#{" ?" * (command.size - 3)}" else "#{command[0]}#{" ?" * (command.size - 1)}" end Appsignal.instrument "query.redis", id, sanitized_command do super end end  |