class Appsignal::Hooks::RedisHook
def process(commands, &block)
def process(commands, &block) sanitized_commands = commands.map do |command, *args| "#{command}#{" ?" * args.size}" end.join("\n") Appsignal.instrument "query.redis", id, sanitized_commands do process_without_appsignal(commands, &block) end end