Track the number of new Redis connections per transaction
Whenever a transaction triggers a new Redis connection we should increment the transaction counter new_redis_connections
. The idea behind this counter is to see if we're constantly opening up new Redis connections (meaning we're leaking somewhere) or if we're nicely re-using connections.
Note that we should not increment this counter whenever a connection object is used that is already connected to Redis.