chia7712 commented on code in PR #24097: URL: https://github.com/apache/kafka/pull/24097#discussion_r4646094503
########## docs/operations/monitoring.md: ########## @@ -844,6 +844,21 @@ kafka.server:type=Request,user=([-.\w]+),client-id=([-.\w]+) Two attributes. throttle-time indicates the amount of time in ms the client was throttled. Ideally = 0. request-time indicates the percentage of time spent in broker network and I/O threads to process requests from client group. For (user, client-id) quotas, both user and client-id are specified. If per-client-id quota is applied to the client, user is not specified. If per-user quota is applied, client-id is not specified. </td> </tr> +<tr> +<td> + +Controller mutation quota metrics per (user, client-id), user or client-id +</td> +<td> + +kafka.server:type=ControllerMutation,user=([-.\w]+),client-id=([-.\w]+) +</td> +<td> + +Three attributes. mutation-rate indicates the rate of partition mutations in partitions/sec for topic creation, partition creation and topic deletion. tokens indicates the number of remaining tokens in the token bucket. A negative value indicates that the quota is exhausted and throttling is applied. throttle-time indicates the average time in ms the client was throttled. Ideally = 0. For (user, client-id) quotas, both user and client-id are specified. If per-client-id quota is applied to the client, user is not specified. If per-user quota is applied, client-id is not specified. Review Comment: I created https://issues.apache.org/jira/browse/KAFKA-21602 to track a specific issue about throttle-time. In short, it is not updated if the request is forwarded from a broker. It is a kind of bug. We should document it for now. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
