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>
31 KiB
KafkaProducer Monitoring
This section describes the types, names, and meanings of KafkaProducer metrics collected by APM.
Category |
Metric |
Name |
Description |
Unit |
Data Type |
Default Aggregation Mode |
---|---|---|---|---|---|---|
Topic (topic: Kafka topic monitoring data) |
id |
id |
Client ID and IP address |
- |
ENUM |
LAST |
topic |
topic |
Kafka topic name |
- |
ENUM |
LAST |
|
byteRate |
byteRate |
Number of bytes sent per second |
Byte |
INT |
AVG |
|
recordErrorRate |
recordErrorRate |
Number of errors per second |
- |
INT |
AVG |
|
recordRetryRate |
recordRetryRate |
Number of retries per second |
- |
INT |
AVG |
|
recordSendRate |
recordSendRate |
Number of messages sent per second |
- |
INT |
AVG |
|
seqIds |
seqIds |
Sequence number generated by the producer |
- |
STRING |
LAST |
|
recordSendTotal |
recordSendTotal |
Total number of send times |
- |
INT |
SUM |
|
byteTotal |
byteTotal |
Total number of bytes that have been sent |
- |
INT |
SUM |
|
KafkaProducer summary (total) |
recordSendTotal |
recordSendTotal |
Total number of send times |
- |
INT |
SUM |
byteTotal |
byteTotal |
Total number of bytes that have been sent |
- |
INT |
SUM |
|
Exception (exception: exception statistics about Kafka byte sending) |
causeType |
causeType |
Exception class |
- |
ENUM |
LAST |
exceptionType |
exceptionType |
Exception class |
- |
ENUM |
LAST |
|
count |
count |
Number of exceptions |
- |
INT |
SUM |
|
message |
message |
Exception message |
- |
STRING |
LAST |
|
stackTrace |
stackTrace |
Exception stack |
- |
CLOB |
LAST |
|
Send methods (doSendMethod) |
topic |
topic |
topic |
- |
ENUM |
LAST |
concurrentMax |
concurrentMax |
Maximum concurrency |
- |
INT |
MAX |
|
errorCount |
errorCount |
Number of errors |
- |
INT |
SUM |
|
invokeCount |
invokeCount |
Number of calls |
- |
INT |
SUM |
|
maxTime |
maxTime |
Maximum response time |
- |
INT |
MAX |
|
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 more than 10s response time |
- |
INT |
SUM |
|
totalTime |
totalTime |
Total response time |
- |
INT |
SUM |