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

Apache HTTP Client connection metrics #4956

Open
j0hnc0yne opened this issue Apr 9, 2024 · 0 comments
Open

Apache HTTP Client connection metrics #4956

j0hnc0yne opened this issue Apr 9, 2024 · 0 comments

Comments

@j0hnc0yne
Copy link

j0hnc0yne commented Apr 9, 2024

Please describe the feature request.

The Apache HTTP Client metrics do not include the timings and count for when new connections are created. Reactor Netty has this as reactor.netty.http.client.connect.time / reactor.netty.http.client.tls.handshake.time. It would be useful to create a Timer metric that calculated the time it took to form a new connection for Apache HttpClient

Rationale

These metrics are useful to see both how often new connections are created as well as how long those take. Using that information can provide better insight into configuring the connection pool.

Additional context

As an example, the Timer could be wrapped around the PoolingHttpClientConnectionManager.connect method to track this metric

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

1 participant