Jedis Monitoring

This section describes the types, names, and meanings of Jedis metrics collected by APM.

Table 1 Jedis metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

Connection pool (jedisPool)

pool

pool

Unique identifier of a connection pool (host name+port number)

-

ENUM

LAST

maxTotal

maxTotal

Maximum number of connections

-

INT

MAX

maxIdle

maxIdle

Maximum number of idle connections

-

INT

MAX

minIdle

minIdle

Minimum number of idle connections

-

INT

MIN

numActive

numActive

Number of active connections

-

INT

SUM

numIdle

numIdle

Number of idle connections

-

INT

SUM

numWaiters

numWaiters

Number of waiting connections

-

INT

SUM

createdCount

createdCount

Number of connections that have been created

-

INT

SUM

destroyedCount

destroyedCount

Number of connections that have been destroyed

-

INT

SUM

borrowedCount

borrowedCount

Number of borrowed connections

-

INT

SUM

maxWaitMillis

maxWaitMillis

Maximum waiting time (ms)

ms

INT

MAX

maxBorrowWaitTimeMillis

maxBorrowWaitTimeMillis

Maximum waiting time of borrowed connections (ms)

ms

INT

MAX

meanActiveTimeMillis

meanActiveTimeMillis

Average activation time of connections (ms)

ms

INT

SUM

meanBorrowWaitTimeMillis

meanBorrowWaitTimeMillis

Average waiting time of borrowed connections

ms

INT

SUM

Active/standby switchover (switch)

from

from

Source host

-

STRING

LAST

to

to

Target host

-

STRING

LAST

switchTimes

switchTimes

Number of switchovers

-

INT

SUM

Client information (clientInfo)

version

version

Client version

-

STRING

LAST

mode

mode

Redis mode (standalone or cluster)

-

STRING

LAST

nodes

nodes

Number of master Redis nodes

-

STRING

LAST