KAFKA-19287 document all group coordinator metrics (#19749)

add following metrics

1.
kafka.server:type=group-coordinator-metrics,name=event-queue-time-ms-p95
2.

kafka.server:type=group-coordinator-metrics,name=num-partitions,state=[loading|active|failed]
3.

kafka.server:type=group-coordinator-metrics,name=event-processing-time-ms-p95
4.

kafka.server:type=group-coordinator-metrics,name=event-purgatory-time-ms-p95
5.
kafka.server:type=group-coordinator-metrics,name=batch-flush-time-ms-p95

Reviewers: David Jacot <djacot@confluent.io>, Chia-Ping Tsai
 <chia7712@gmail.com>
This commit is contained in:
Bolin Lin 2025-05-21 07:15:07 -04:00 committed by GitHub
parent c9fcad7e86
commit 388db49191
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -1794,7 +1794,7 @@ The following set of metrics are available for monitoring the group coordinator:
<tbody> <tbody>
<tr> <tr>
<td>The Partition Count, per State</td> <td>The Partition Count, per State</td>
<td>kafka.server:type=group-coordinator-metrics,name=partition-count,state={loading|active|failed}</td> <td>kafka.server:type=group-coordinator-metrics,name=num-partitions,state={loading|active|failed}</td>
<td>The number of <code>__consumer_offsets</code> partitions hosted by the broker, broken down by state</td> <td>The number of <code>__consumer_offsets</code> partitions hosted by the broker, broken down by state</td>
</tr> </tr>
<tr> <tr>
@ -1819,22 +1819,22 @@ The following set of metrics are available for monitoring the group coordinator:
</tr> </tr>
<tr> <tr>
<td>Event Queue Time (Ms)</td> <td>Event Queue Time (Ms)</td>
<td>kafka.server:type=group-coordinator-metrics,name=event-queue-time-ms-[max|p50|p99|p999]</td> <td>kafka.server:type=group-coordinator-metrics,name=event-queue-time-ms-[max|p50|p95|p99|p999]</td>
<td>The time that an event spent waiting in the queue to be processed</td> <td>The time that an event spent waiting in the queue to be processed</td>
</tr> </tr>
<tr> <tr>
<td>Event Processing Time (Ms)</td> <td>Event Processing Time (Ms)</td>
<td>kafka.server:type=group-coordinator-metrics,name=event-processing-time-ms-[max|p50|p99|p999]</td> <td>kafka.server:type=group-coordinator-metrics,name=event-processing-time-ms-[max|p50|p95|p99|p999]</td>
<td>The time that an event took to be processed</td> <td>The time that an event took to be processed</td>
</tr> </tr>
<tr> <tr>
<td>Event Purgatory Time (Ms)</td> <td>Event Purgatory Time (Ms)</td>
<td>kafka.server:type=group-coordinator-metrics,name=event-purgatory-time-ms-[max|p50|p99|p999]</td> <td>kafka.server:type=group-coordinator-metrics,name=event-purgatory-time-ms-[max|p50|p95|p99|p999]</td>
<td>The time that an event waited in the purgatory before being completed</td> <td>The time that an event waited in the purgatory before being completed</td>
</tr> </tr>
<tr> <tr>
<td>Batch Flush Time (Ms)</td> <td>Batch Flush Time (Ms)</td>
<td>kafka.server:type=group-coordinator-metrics,name=batch-flush-time-ms-[max|p50|p99|p999]</td> <td>kafka.server:type=group-coordinator-metrics,name=batch-flush-time-ms-[max|p50|p95|p99|p999]</td>
<td>The time that a batch took to be flushed to the local partition</td> <td>The time that a batch took to be flushed to the local partition</td>
</tr> </tr>
<tr> <tr>