RecordConnectionCount records a change in connection count (UpDownCounter) delta: +1 when connection added, -1 when connection removed state: connection state (e.g., "idle", "used") isPubSub: true if this is a PubSub connection
(ctx context.Context, delta int, cn *pool.Conn, state string, isPubSub bool)
| 91 | // state: connection state (e.g., "idle", "used") |
| 92 | // isPubSub: true if this is a PubSub connection |
| 93 | RecordConnectionCount(ctx context.Context, delta int, cn *pool.Conn, state string, isPubSub bool) |
| 94 | |
| 95 | // RecordPendingRequests records a change in pending requests (UpDownCounter) |
| 96 | // delta: +1 when request starts waiting, -1 when request stops waiting |
no outgoing calls
no test coverage detected