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

PahoPublisher Monitoring

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

Table 1 PahoPublisher metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

Monitoring of PUBLISH packets sent by PahoPublisher (message)

uri

serviceUri

URI of the MQTT server connected to PahoPublisher

-

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 sent by PahoPublisher (uriMessage)

uri

serviceUri

URI of the MQTT server connected to PahoPublisher

-

ENUM

LAST

errorCount

Errors

Number of errors

-

INT

SUM

invokeCount

Calls

Number of calls

-

INT

SUM

totalTime

Total RT

Total response time

-

INT

SUM

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

PahoPublisher monitoring by topic (clientPublish)

clientId

clientId

clientId

-

ENUM

LAST

topic

Topic

Topic

-

ENUM

LAST

msgSentCount

Message Sending Times

Number of message sending times

-

INT

SUM

bytesSent

Bytes Sent

Number of bytes sent

-

INT

SUM

PahoPublisher version (version)

version

Version

Version

-

STRING

LAST

PahoPublisher topic summary (total)

msgSentCount

Message Sending Times

Total number of message sending times

-

INT

SUM

bytesSent

Bytes Sent

Total number of bytes sent

-

INT

SUM