Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
36 KiB
PahoSubscriber Monitoring
This section describes the types, names, and meanings of PahoSubscriber metrics collected by APM.
Category |
Metric |
Name |
Description |
Unit |
Data Type |
Default Aggregation Mode |
---|---|---|---|---|---|---|
Monitoring of PUBLISH packets received by PahoSubscriber (message) |
uri |
uri |
URI of the MQTT server connected to PahoSubscriber |
- |
ENUM |
LAST |
msgType |
msgType |
Type of the packet that is sent |
- |
ENUM |
LAST |
|
concurrentMax |
concurrentMax |
Maximum concurrency |
- |
INT |
MAX |
|
errorCount |
errorCount |
Number of errors |
- |
INT |
SUM |
|
errorTraceId |
errorTraceId |
ID of the trace that encounters an error in a collection period |
- |
STRING |
LAST |
|
slowTraceId |
slowTraceId |
ID of the slowest trace in a collection period |
- |
STRING |
LAST |
|
invokeCount |
invokeCount |
Number of calls |
- |
INT |
SUM |
|
lastError |
lastError |
Error message |
- |
STRING |
LAST |
|
maxTime |
maxTime |
Maximum response time |
- |
INT |
MAX |
|
totalTime |
totalTime |
Total response time |
- |
INT |
SUM |
|
range1 |
range1 |
Number of requests with 0–10 ms response time |
- |
INT |
SUM |
|
range2 |
range2 |
Number of requests with 10–100 ms response time |
- |
INT |
SUM |
|
range3 |
range3 |
Number of requests with 100–500 ms response time |
- |
INT |
SUM |
|
range4 |
range4 |
Number of requests with 500–1000 ms response time |
- |
INT |
SUM |
|
range5 |
range5 |
Number of requests with 1–10s response time |
- |
INT |
SUM |
|
range6 |
range6 |
Number of requests with response time longer than 10s |
- |
INT |
SUM |
|
Node-based monitoring of PUBLISH packets received by PahoSubscriber (uriMessage) |
uri |
uri |
URI of the MQTT server connected to PahoSubscriber |
- |
ENUM |
LAST |
errorCount |
errorCount |
Errors |
- |
INT |
SUM |
|
invokeCount |
invokeCount |
Calls |
- |
INT |
SUM |
|
totalTime |
totalTime |
Total response time |
- |
INT |
SUM |
|
Exception (exception: exception statistics of PahoSubscriber calls) |
exceptionType |
exceptionType |
Exception type |
- |
ENUM |
LAST |
causeType |
causeType |
Exception class |
- |
ENUM |
LAST |
|
count |
count |
Number of times the exception has occurred |
- |
INT |
SUM |
|
message |
message |
Message returned when the exception occurred |
- |
STRING |
LAST |
|
stackTrace |
stackTrace |
Exception stack information |
- |
CLOB |
LAST |
|
PahoSubscriber topic-based monitoring (clientReceive) |
clientId |
clientId |
clientId |
- |
ENUM |
LAST |
topic |
topic |
Topic |
- |
ENUM |
LAST |
|
msgReceivedCount |
msgReceivedCount |
Number of message receiving times |
- |
INT |
SUM |
|
bytesReceived |
bytesReceived |
Number of bytes received |
- |
INT |
SUM |
|
PahoSubscriber version (version) |
version |
version |
Version |
- |
STRING |
LAST |
PahoSubscriber topic summary (total) |
msgReceivedCount |
msgReceivedCount |
Total number of message receiving times |
- |
INT |
SUM |
bytesReceived |
bytesReceived |
Total number of bytes received |
- |
INT |
SUM |