Updated on 2024-07-04 GMT+08:00

RocketMqProducer Monitoring

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

Table 1 RocketMqProducer metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

Exception (exception: exception statistics of RabbitMqProducer calls)

exceptionType

Exception Type

Exception type

-

ENUM

LAST

causeType

Exception Class

Exception class

-

ENUM

LAST

count

Count

Number of times the exception has occurred

-

INT

SUM

message

Exception Message

Message returned when the exception occurred

-

STRING

LAST

stackTrace

Exception Stack

Exception stack information

-

CLOB

LAST

Client ID monitoring (clientIdPublish: APM counts message push statistics by client ID.)

clientId

clientId

Client instance ID

-

ENUM

LAST

group

Producer Group

Producer group

-

ENUM

LAST

pid

pid

PID

-

STRING

LAST

concurrentMax

Max. Concurrency

Maximum number of messages for concurrent push

-

INT

MAX

errorCount

Errors

Number of message push errors

-

INT

SUM

errorTraceId

Error Trace ID

ID of the trace that encounters an error in a collection period

-

STRING

LAST

invokeCount

invokeCount

Number of message push calls

-

INT

SUM

publishedMsgCount

publishedMsgCount

Number of push messages

-

INT

SUM

publishedBytes

Push Bytes

Number of push bytes

-

INT

SUM

lastError

Error Message

Information about the error that has occurred during message pushing

-

STRING

LAST

maxTime

Max. RT

Maximum response time for pushing messages

-

INT

MAX

runningCount

Ongoing Executions

Number of messages that are being pushed at the time of collection

-

INT

SUM

slowTraceId

Slow Trace ID

ID of the slowest trace in a collection period

-

STRING

LAST

totalTime

Total RT

Total response time for pushing messages

-

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–200 ms

Number of requests with 100–200 ms response time

-

INT

SUM

range4

200–1000 ms

Number of requests with 200–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

Topic monitoring (topicPublish: APM counts message push statistics by topic.)

clientId

clientId

Client instance ID

-

ENUM

LAST

group

Producer Group

Producer group

-

ENUM

LAST

topic

Topic

Topic to which a message is pushed

-

ENUM

LAST

pid

pid

PID

-

STRING

LAST

concurrentMax

Max. Concurrency

Maximum number of messages for concurrent push

-

INT

MAX

errorCount

Errors

Number of message push errors

-

INT

SUM

errorTraceId

Error Trace ID

ID of the trace that encounters an error in a collection period

-

STRING

LAST

invokeCount

invokeCount

Number of message push calls

-

INT

SUM

publishedMsgCount

publishedMsgCount

Number of push messages

-

INT

SUM

publishedBytes

Push Bytes

Number of push bytes

-

INT

SUM

lastError

Error Message

Information about the error that has occurred during message pushing

-

STRING

LAST

maxTime

Max. RT

Maximum response time for pushing messages

-

INT

MAX

runningCount

Ongoing Executions

Number of messages that are being pushed at the time of collection

-

INT

SUM

slowTraceId

Slow Trace ID

ID of the slowest trace in a collection period

-

STRING

LAST

totalTime

Total RT

Total response time for pushing messages

-

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–200 ms

Number of requests with 100–200 ms response time

-

INT

SUM

range4

200–1000 ms

Number of requests with 200–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

Queue monitoring (queuePublish: APM counts message push statistics by queue.)

clientId

clientId

Client instance ID

-

ENUM

LAST

group

Producer Group

Producer group

-

ENUM

LAST

queue

Message Queue

Message queue ID

-

ENUM

LAST

pid

pid

PID

-

STRING

LAST

concurrentMax

Max. Concurrency

Maximum number of messages for concurrent push

-

INT

MAX

errorCount

Errors

Number of message push errors

-

INT

SUM

errorTraceId

Error Trace ID

ID of the trace that encounters an error in a collection period

-

STRING

LAST

invokeCount

invokeCount

Number of message push calls

-

INT

SUM

publishedMsgCount

publishedMsgCount

Number of push messages

-

INT

SUM

publishedBytes

Push Bytes

Number of push bytes

-

INT

SUM

lastError

Error Message

Information about the error that has occurred during message pushing

-

STRING

LAST

maxTime

Max. RT

Maximum response time for pushing messages

-

INT

MAX

runningCount

Ongoing Executions

Number of messages that are being pushed at the time of collection

-

INT

SUM

slowTraceId

Slow Trace ID

ID of the slowest trace in a collection period

-

STRING

LAST

totalTime

Total RT

Total response time for pushing messages

-

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–200 ms

Number of requests with 100–200 ms response time

-

INT

SUM

range4

200–1000 ms

Number of requests with 200–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

Broker monitoring (brokerPublish: APM counts message push statistics by broker.)

clientId

clientId

Client instance ID

-

ENUM

LAST

group

Producer Group

Producer group

-

ENUM

LAST

broker

broker

Broker address

-

ENUM

LAST

pid

pid

PID

-

STRING

LAST

concurrentMax

Max. Concurrency

Maximum number of messages for concurrent push

-

INT

MAX

errorCount

Errors

Number of message push errors

-

INT

SUM

errorTraceId

Error Trace ID

ID of the trace that encounters an error in a collection period

-

STRING

LAST

invokeCount

invokeCount

Number of message push calls

-

INT

SUM

publishedMsgCount

publishedMsgCount

Number of push messages

-

INT

SUM

publishedBytes

Push Bytes

Number of push bytes

-

INT

SUM

lastError

Error Message

Information about the error that has occurred during message pushing

-

STRING

LAST

maxTime

Max. RT

Maximum response time for pushing messages

-

INT

MAX

runningCount

Ongoing Executions

Number of messages that are being pushed at the time of collection

-

INT

SUM

slowTraceId

Slow Trace ID

ID of the slowest trace in a collection period

-

STRING

LAST

totalTime

Total RT

Total response time for pushing messages

-

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–200 ms

Number of requests with 100–200 ms response time

-

INT

SUM

range4

200–1000 ms

Number of requests with 200–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

Transaction monitoring (transactionPublish: APM counts transaction message push statistics by client.)

clientId

clientId

Client instance ID

-

ENUM

LAST

group

Producer Group

Producer group

-

ENUM

LAST

pid

pid

PID

-

STRING

LAST

concurrentMax

Max. Concurrency

Maximum number of transaction messages for concurrent push

-

INT

MAX

errorCount

Errors

Number of transaction message push errors

-

INT

SUM

errorTraceId

Error Trace ID

ID of the trace that encounters an error in a collection period

-

STRING

LAST

invokeCount

invokeCount

Number of message push calls

-

INT

SUM

lastError

Error Message

Error information generated when an error has occurred during transaction message push

-

STRING

LAST

maxTime

Max. RT

Maximum response time for pushing transaction messages

-

INT

MAX

runningCount

Ongoing Executions

Number of transaction messages that are being pushed at the time of collection

-

INT

SUM

slowTraceId

Slow Trace ID

ID of the slowest trace in a collection period

-

STRING

LAST

totalTime

Total RT

Total response time for pushing transaction messages

-

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–200 ms

Number of requests with 100–200 ms response time

-

INT

SUM

range4

200–1000 ms

Number of requests with 200–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

Total monitoring (total: APM counts message push statistics by client.)

errorCount

Errors

Number of message push errors

-

INT

SUM

invokeCount

invokeCount

Number of message push calls

-

INT

SUM

publishedMsgCount

publishedMsgCount

Number of push messages

-

INT

SUM

publishedBytes

Push Bytes

Number of push bytes

-

INT

SUM

totalTime

Total RT

Total response time for pushing messages

-

INT

SUM