Skip to content

How to monitor HTTP client connection pool usage (available vs used connections, pool limit exceeded) #50048

@am36166

Description

@am36166

Hello,

I am using the Quarkus REST Client,I would like to monitor the HTTP connection pool managed by PoolingHttpClientConnectionManager.

Specifically, I would like to know:

The maximum number of connections configured in the pool

The number of currently allocated/active connections

The number of available/idle connections

How to detect if the pool limit has been exceeded (e.g., requests waiting for a free connection)

Is there a recommended way in Quarkus to expose these Apache HttpClient pool metrics note that with micrometer I was not able to get this metrics Or should I manually access PoolingHttpClientConnectionManager stats?

Thank you in advance for your help.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions