Skip to content
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

Adds additional metrics for remaining capacity, min, and max #80

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

iainsproat
Copy link

This PR adds three additional metrics.

numMin and numMax return the configured min and max values. This allows external services to query the configuration of the pool.

numRemainingCapacity returns the difference between the maximum value and the number of used and pending creation resources. This is particularly useful in determining whether the connection pool is saturated, i.e. there is no additional capacity.

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 this pull request may close these issues.

1 participant