RecordOperationDuration records the total operation duration (including all retries) dbIndex is the Redis database index (0-15)
(ctx context.Context, duration time.Duration, cmd Cmder, attempts int, err error, cn *pool.Conn, dbIndex int)
| 33 | // RecordOperationDuration records the total operation duration (including all retries) |
| 34 | // dbIndex is the Redis database index (0-15) |
| 35 | RecordOperationDuration(ctx context.Context, duration time.Duration, cmd Cmder, attempts int, err error, cn *pool.Conn, dbIndex int) |
| 36 | |
| 37 | // RecordPipelineOperationDuration records the total pipeline/transaction duration. |
| 38 | // operationName should be "PIPELINE" for regular pipelines or "MULTI" for transactions. |
no outgoing calls
no test coverage detected