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

PahoSubscriber Monitoring

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

Table 1 PahoSubscriber metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

Monitoring of PUBLISH packets received by PahoSubscriber (message)

uri

serviceUri

URI of the MQTT server connected to PahoSubscriber

-

ENUM

LAST

msgType

Packet Type

Type of the packet that is sent

-

ENUM

LAST

concurrentMax

Max. Concurrency

Maximum concurrency

-

INT

MAX

errorCount

Errors

Number of errors

-

INT

SUM

errorTraceId

Error Trace ID

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

-

STRING

LAST

slowTraceId

Slow Trace ID

ID of the slowest trace in a collection period

-

STRING

LAST

invokeCount

Calls

Number of calls

-

INT

SUM

lastError

Error Message

Error message

-

STRING

LAST

maxTime

Max. RT

Maximum response time

-

INT

MAX

totalTime

Total RT

Total 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

Node-based monitoring of PUBLISH packets received by PahoSubscriber (uriMessage)

uri

serviceUri

URI of the MQTT server connected to PahoSubscriber

-

ENUM

LAST

errorCount

Errors

Errors

-

INT

SUM

invokeCount

Number of calls

Calls

-

INT

SUM

totalTime

Total RT

Total response time

-

INT

SUM

Exception (exception: exception statistics of PahoSubscriber 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

PahoSubscriber topic-based monitoring (clientReceive)

clientId

clientId

clientId

-

ENUM

LAST

topic

Topic

Topic

-

ENUM

LAST

msgReceivedCount

Message Receiving Times

Number of message receiving times

-

INT

SUM

bytesReceived

Bytes Received

Number of bytes received

-

INT

SUM

PahoSubscriber version (version)

version

Version

Version

-

STRING

LAST

PahoSubscriber topic summary (total)

msgReceivedCount

Message Receiving Times

Total number of message receiving times

-

INT

SUM

bytesReceived

Bytes Received

Total number of bytes received

-

INT

SUM