Skip to content

Add ability to know how many connections in a pool are used #700

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

Closed
jyn514 opened this issue Sep 25, 2020 · 0 comments · Fixed by #701
Closed

Add ability to know how many connections in a pool are used #700

jyn514 opened this issue Sep 25, 2020 · 0 comments · Fixed by #701

Comments

@jyn514
Copy link
Contributor

jyn514 commented Sep 25, 2020

Pool does not currently expose SharedPool::size or SharedPool::num_idle. docs.rs is interested in knowing this info for metrics (in particular, if we run out of connections we have to start rejecting requests, so it's good to keep an eye on it).

I'm interested in implementing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant