Metric/Attribute name Description Mbean name
batch-size-avg The average number of bytes sent per partition per-request. kafka.producer:type=producer-metrics,client-id="{client-id}"
batch-size-max The max number of bytes sent per partition per-request. kafka.producer:type=producer-metrics,client-id="{client-id}"
batch-split-rate The average number of batch splits per second kafka.producer:type=producer-metrics,client-id="{client-id}"
batch-split-total The total number of batch splits kafka.producer:type=producer-metrics,client-id="{client-id}"
compression-rate-avg The average compression rate of record batches, defined as the average ratio of the compressed batch size over the uncompressed size. kafka.producer:type=producer-metrics,client-id="{client-id}"
metadata-age The age in seconds of the current producer metadata being used. kafka.producer:type=producer-metrics,client-id="{client-id}"
produce-throttle-time-avg The average time in ms a request was throttled by a broker kafka.producer:type=producer-metrics,client-id="{client-id}"
produce-throttle-time-max The maximum time in ms a request was throttled by a broker kafka.producer:type=producer-metrics,client-id="{client-id}"
record-error-rate The average per-second number of record sends that resulted in errors kafka.producer:type=producer-metrics,client-id="{client-id}"
record-error-total The total number of record sends that resulted in errors kafka.producer:type=producer-metrics,client-id="{client-id}"
record-queue-time-avg The average time in ms record batches spent in the send buffer. kafka.producer:type=producer-metrics,client-id="{client-id}"
record-queue-time-max The maximum time in ms record batches spent in the send buffer. kafka.producer:type=producer-metrics,client-id="{client-id}"
record-retry-rate The average per-second number of retried record sends kafka.producer:type=producer-metrics,client-id="{client-id}"
record-retry-total The total number of retried record sends kafka.producer:type=producer-metrics,client-id="{client-id}"
record-send-rate The average number of records sent per second. kafka.producer:type=producer-metrics,client-id="{client-id}"
record-send-total The total number of records sent. kafka.producer:type=producer-metrics,client-id="{client-id}"
record-size-avg The average record size kafka.producer:type=producer-metrics,client-id="{client-id}"
record-size-max The maximum record size kafka.producer:type=producer-metrics,client-id="{client-id}"
records-per-request-avg The average number of records per request. kafka.producer:type=producer-metrics,client-id="{client-id}"
request-latency-avg The average request latency in ms kafka.producer:type=producer-metrics,client-id="{client-id}"
request-latency-max The maximum request latency in ms kafka.producer:type=producer-metrics,client-id="{client-id}"
requests-in-flight The current number of in-flight requests awaiting a response. kafka.producer:type=producer-metrics,client-id="{client-id}"
byte-rate The average number of bytes sent per second for a topic. kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"
byte-total The total number of bytes sent for a topic. kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"
compression-rate The average compression rate of record batches for a topic, defined as the average ratio of the compressed batch size over the uncompressed size. kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"
record-error-rate The average per-second number of record sends that resulted in errors for a topic kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"
record-error-total The total number of record sends that resulted in errors for a topic kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"
record-retry-rate The average per-second number of retried record sends for a topic kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"
record-retry-total The total number of retried record sends for a topic kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"
record-send-rate The average number of records sent per second for a topic. kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"
record-send-total The total number of records sent for a topic. kafka.producer:type=producer-topic-metrics,client-id="{client-id}",topic="{topic}"