RecordPipelineOperationDuration records the total pipeline/transaction duration. operationName should be "PIPELINE" for regular pipelines or "MULTI" for transactions. cmdCount is the number of commands in the pipeline. err is the error from the pipeline execution (can be nil). dbIndex is the Redis d
(ctx context.Context, duration time.Duration, operationName string, cmdCount int, attempts int, err error, cn *pool.Conn, dbIndex int)
| 40 | // err is the error from the pipeline execution (can be nil). |
| 41 | // dbIndex is the Redis database index (0-15) |
| 42 | RecordPipelineOperationDuration(ctx context.Context, duration time.Duration, operationName string, cmdCount int, attempts int, err error, cn *pool.Conn, dbIndex int) |
| 43 | |
| 44 | // RecordConnectionCreateTime records the time it took to create a new connection |
| 45 | RecordConnectionCreateTime(ctx context.Context, duration time.Duration, cn *pool.Conn) |
no outgoing calls
no test coverage detected