RecordConnectionClosed records when a connection is closed reason: reason for closing (e.g., "idle", "max_lifetime", "error", "pool_closed") err: the error that caused the close (nil for non-error closures)
(ctx context.Context, cn *pool.Conn, reason string, err error)
| 72 | // reason: reason for closing (e.g., "idle", "max_lifetime", "error", "pool_closed") |
| 73 | // err: the error that caused the close (nil for non-error closures) |
| 74 | RecordConnectionClosed(ctx context.Context, cn *pool.Conn, reason string, err error) |
| 75 | |
| 76 | // RecordPubSubMessage records a Pub/Sub message |
| 77 | // direction: "sent" or "received" |
no outgoing calls
no test coverage detected