-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WaitCount stats #2057
Comments
https://pkg.go.dev/github.com/jackc/pgx/[email protected]/pgxpool#Stat.EmptyAcquireCount is how many acquires had to wait. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the database/sql library, we have the waitCount statistic to get the total number of connections waited for. How can I obtain this statistic in pgx? In the stat() function of pgx, there is no function that returns the waitCount.
The text was updated successfully, but these errors were encountered: