module Sentry::Redis::GlobalRedisInstrumentation

def call(command, redis_config)

def call(command, redis_config)
  Sentry::Redis
    .new([command], redis_config.host, redis_config.port, redis_config.db)
    .instrument { super }
end

def call_pipelined(commands, redis_config)

def call_pipelined(commands, redis_config)
  Sentry::Redis
    .new(commands, redis_config.host, redis_config.port, redis_config.db)
    .instrument { super }
end