Updated on 2023-08-02 GMT+08:00

ApacheHttpAsyncClient Connection Pool

This section describes the types, names, and meanings of ApacheHttpAsyncClient connection pool metrics collected by APM.

Table 1 ApacheHttpAsyncClient collection parameters

Parameter

Data Type

Application Type

Default

Supported Start Agent Version

Supported End Agent Version

Description

Threshold (ms) for Reporting Connection Trace

integer

JAVA

1

2.1.6

-

Threshold (ms) for reporting connection traces

Obtain Pool Info or Not

radio

JAVA

1

2.1.6

-

Whether to obtain pool information when getting connections

Table 2 ApacheHttpAsyncClient connection pool metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

Connection pool (connectionPool: statistics about ApacheHttpAsyncClient connections in different states)

poolId

Connection Pool ID

ApacheHttpAsyncClient connection pool ID

-

ENUM

LAST

available

Idle Connections

Number of idle connections in the connection pool

-

INT

SUM

leased

Occupied Connections

Number of connections occupied

-

INT

SUM

max

Max. Connections

Maximum number of connections in the connection pool

-

INT

MAX

pending

Pending Connections

Number of pending connections in the connection pool

-

INT

SUM

Connection pool route (collectionPoolRoute: APM counts connection statistics by pool route.)

poolId

Connection Pool ID

ApacheHttpAsyncClient connection pool ID

-

ENUM

LAST

route

Route

Routing information of the connection pool

-

ENUM

LAST

available

Idle Connections

Number of idle connections in the connection pool

-

INT

SUM

leased

Occupied Connections

Number of connections occupied

-

INT

SUM

max

Max. Connections

Maximum number of connections in the connection pool

-

INT

MAX

pending

Pending Connections

Number of pending connections in the connection pool

-

INT

SUM

Connection details (connection)

route

Route

Route

-

ENUM

LAST

invokeCount

Calls

Number of calls

-

INT

SUM

totalTime

Total Time

Total time

-

INT

SUM

errorCount

Errors

Number of errors

-

INT

SUM

maxTime

Max. RT

Maximum response time

-

INT

SUM

range1

0–10 ms

Number of requests with 0–10 ms response time

-

INT

SUM

range2

10–100 ms

Number of requests with 10–100 ms response time

-

INT

SUM

range3

100–500 ms

Number of requests with 100–500 ms response time

-

INT

SUM

range4

500–1000 ms

Number of requests with 500–1000 ms response time

-

INT

SUM

range5

1–10s

Number of requests with 1–10s response time

-

INT

SUM

range6

> 10s

Number of requests with response time longer than 10s

-

INT

SUM

concurrentMax

Max. Concurrency

Maximum concurrency

-

INT

MAX