Open
Description
Description
I'm using Redis with the singleton pattern. Everything is in transaction mode, as shown in the print below. The problem is that in go-redis/v9 with nrredis-v9, even using Hook, it doesn't record the key when using GET/SET or any other operation.
Steps to Reproduce
nrredis github.com/newrelic/go-agent/v3/integrations/nrredis-v9
"github.com/redis/go-redis/v9"
var dataSourceName = fmt.Sprintf("%s:%d", host, port)
redisOpts := &redis.Options{
Addr: dataSourceName,
Password: password,
DB: 0,
MaxRetries: 5,
PoolSize: 200,
MinIdleConns: 100,
}
client := redis.NewClient(redisOpts)
client.Get(ctx, key, offers, ttl).Err()