RecordConnectionCreateTime records the time it took to create a new connection.
(ctx context.Context, duration time.Duration, cn *pool.Conn)
| 230 | |
| 231 | // RecordConnectionCreateTime records the time it took to create a new connection. |
| 232 | func RecordConnectionCreateTime(ctx context.Context, duration time.Duration, cn *pool.Conn) { |
| 233 | getRecorder().RecordConnectionCreateTime(ctx, duration, cn) |
| 234 | } |
| 235 | |
| 236 | // RecordPubSubMessage records a Pub/Sub message sent or received. |
| 237 | func RecordPubSubMessage(ctx context.Context, cn *pool.Conn, direction, channel string, sharded bool) { |
nothing calls this directly
no test coverage detected