module Appsignal::Integrations::RedisClientIntegration

def write(command)

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", @config.id, sanitized_command do
    super
  end
end