You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "YutaLin (via GitHub)" <gi...@apache.org> on 2025/05/17 04:56:51 UTC

[PR] MINOR: document group coordinator metrics [kafka]

YutaLin opened a new pull request, #19749:
URL: https://github.com/apache/kafka/pull/19749

   As title
   
   Reviewers: 
   PoAn Yang [payang@apache.org](mailto:payang@apache.org), 
   Ken Huang [s7133700@gmail.com](mailto:s7133700@gmail.com), 
   TengYao Chi [frankvicky@apache.org](mailto:frankvicky@apache.org), 
   Chia-Ping Tsai [chia7712@gmail.com](mailto:chia7712@gmail.com)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19287: document all group coordinator metrics [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #19749:
URL: https://github.com/apache/kafka/pull/19749


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19287: document all group coordinator metrics [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on PR #19749:
URL: https://github.com/apache/kafka/pull/19749#issuecomment-2889098456

   > For num-partitions, there is partition-count. We need to check which one is correct in the code.
   
   There's a discrepancy in the naming of the partition configuration. The code uses `num-partitions`, while KIP-848 and the documentation use `partition-count`.
   
   https://github.com/apache/kafka/blob/6596ba3a783c91da2687aaceda91be2510321a60/coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/CoordinatorRuntimeMetricsImpl.java#L44
   
   Since KIP-848 has already been released, the more suitable approach would be to modify the documentation to use num-partitions to align with the current production code, rather than changing the code itself.
   
   @YutaLin Please address @dajac comments. the `p95` should be added to the existent items in the table. for example
   
   ```
       <tr>
         <td>Event Queue Time (Ms)</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>
       </tr>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: document group coordinator metrics [kafka]

Posted by "dajac (via GitHub)" <gi...@apache.org>.
dajac commented on PR #19749:
URL: https://github.com/apache/kafka/pull/19749#issuecomment-2888134965

   @YutaLin Thanks for the patch. If I remember correctly, there is a section for group coordinator metrics. Are those missing there?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19287: document all group coordinator metrics [kafka]

Posted by "YutaLin (via GitHub)" <gi...@apache.org>.
YutaLin commented on PR #19749:
URL: https://github.com/apache/kafka/pull/19749#issuecomment-2892371479

   Hi @dajac and @chia7712, here is the screenshot of the updated version.
   <img width="1840" alt="Screenshot 2025-05-19 at 5 45 36 PM" src="https://github.com/user-attachments/assets/7cc2c490-29be-47c5-bfd5-9abdc422049a" />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19287: document all group coordinator metrics [kafka]

Posted by "dajac (via GitHub)" <gi...@apache.org>.
dajac commented on PR #19749:
URL: https://github.com/apache/kafka/pull/19749#issuecomment-2888824730

   @YutaLin Could you please ensure that the updates are in this [section](https://kafka.apache.org/documentation/#group_coordinator_monitoring)? For the histogram, they are already there but `p95` is not mentioned. We can add it. For `num-partitions`, there is `partition-count`. We need to check which one is correct in the code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org