Skip to content

[client-v2] More connection runtime metrics #2094

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
1 of 3 tasks
chernser opened this issue Jan 16, 2025 · 2 comments
Closed
1 of 3 tasks

[client-v2] More connection runtime metrics #2094

chernser opened this issue Jan 16, 2025 · 2 comments
Assignees
Milestone

Comments

@chernser
Copy link
Contributor

chernser commented Jan 16, 2025

There is a need to monitor connections that are created by a client.

Here is list of wanted metrics:
Connection pool (scope)

  • connection request time (how fast connection is returned from pool, may include creation time)
  • connection creation time
  • failed connection requests(count, ratio)
@Paultagoras
Copy link
Contributor

So based on discussions:

  • connection request time is an Apache-level metric, not something we should be touching in our client. It would involve extending internal methods, which is a nightmare waiting to happen
  • Added
  • This is better added at the application level, as each call can be wrapped in a try/catch and the cause can be selected to user preference. Otherwise it would be overly generic and basic at the client level.

@Paultagoras
Copy link
Contributor

Closed by #2131

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

No branches or pull requests

2 participants