From a33b5d5472ac7cd9df09f17c70a4907443eafe8c Mon Sep 17 00:00:00 2001 From: Ritikj55 Date: Fri, 26 Jun 2026 15:52:35 +0530 Subject: [PATCH] task/KAFKA-19491-documentation-AsyncConsumer-metrics: Adding documentation for AsyncKafkaConsumerMetrics based on CONSUMER protocol --- docs/operations/monitoring.md | 135 +++++++++++++++++++++++++++++++++- 1 file changed, 133 insertions(+), 2 deletions(-) diff --git a/docs/operations/monitoring.md b/docs/operations/monitoring.md index 3f5fb0ec66f40..1a77ef11fd3d9 100644 --- a/docs/operations/monitoring.md +++ b/docs/operations/monitoring.md @@ -3446,8 +3446,139 @@ The total time the Consumer spent committing offsets in nanoseconds (for AOS). -kafka.consumer:type=consumer-metrics,client-id=([-.\w]+) - +kafka.consumer:type=consumer-metrics,client-id=([-.\w]+) + + + + +time-between-network-thread-poll + + +The average delay between invocations of poll (for CONSUMER protocol) + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +application-event-queue-size + + + +The current number of events in the consumer network application event queue (for CONSUMER protocol). + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +application-event-queue-time-avg + + + +The average time, in milliseconds, that application events are taking to be dequeued (for CONSUMER protocol) + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +application-event-queue-processing-time-avg + + + +The maximum time, in milliseconds, that the consumer network took to process all available application events (for CONSUMER protocol) + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +application-events-expired-count + + + +The current number of expired application events (for CONSUMER protocol) + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +background-event-queue-size + + + +The current number of events in the consumer background event queue (for CONSUMER protocol) + + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +background-event-queue-time-avg + + + +The average time, in milliseconds, that background events are taking to be dequeued (for CONSUMER protocol) + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +background-event-queue-processing-time-avg + + + +The average time, in milliseconds, that the consumer took to process all available background events (for CONSUMER protocol) + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +unsent-requests-queue-size + + + +The current number of unsent requests in the consumer network (for CONSUMER protocol) + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + + + +unsent-requests-queue-time-avg + + + +The average time, in milliseconds, that requests are taking to be sent in the consumer network (for CONSUMER protocol) + + + +kafka.consumer:type=consumer-metrics,client-id={clientId} + + ### Consumer Group Metrics