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

Additional logging for connection pool #1795

Merged
merged 3 commits into from
Feb 7, 2024
Merged

Additional logging for connection pool #1795

merged 3 commits into from
Feb 7, 2024

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Feb 7, 2024

Motivation:

The connection pool logs information about various states but the logger doesn't have an id attached for the sub-pool making it hard determine the state of individual subpools.

Modifications:

  • Add the subpool id to the logger metadata
  • Add a log when the pool is initialized
  • Add a log when the pool can't add any more connections

Result:

Better visibility

Motivation:

The connection pool logs information about various states but the logger
doesn't have an id attached for the sub-pool making it hard determine
the state of individual subpools.

Modifications:

- Add the subpool id to the logger metadata
- Add a log when the pool is initialized
- Add a log when the pool can't add any more connections

Result:

Better visibility
@glbrntt glbrntt requested a review from gjcairo February 7, 2024 10:28
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Feb 7, 2024
@glbrntt glbrntt enabled auto-merge (squash) February 7, 2024 11:16
@glbrntt glbrntt merged commit 25c33fd into grpc:main Feb 7, 2024
13 of 14 checks passed
@glbrntt glbrntt deleted the pool-log branch February 7, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants