kafka/checkstyle
Jeff Kim abee8f711c
KAFKA-14519; [1/N] Implement coordinator runtime metrics (#14417)
Implements the following metrics:

kafka.server:type=group-coordinator-metrics,name=num-partitions,state=loading
kafka.server:type=group-coordinator-metrics,name=num-partitions,state=active
kafka.server:type=group-coordinator-metrics,name=num-partitions,state=failed
kafka.server:type=group-coordinator-metrics,name=event-queue-size
kafka.server:type=group-coordinator-metrics,name=partition-load-time-max
kafka.server:type=group-coordinator-metrics,name=partition-load-time-avg
kafka.server:type=group-coordinator-metrics,name=thread-idle-ratio-min
kafka.server:type=group-coordinator-metrics,name=thread-idle-ratio-avg
The PR makes these metrics generic so that in the future the transaction coordinator runtime can implement the same metrics in a similar fashion.

Also, CoordinatorLoaderImpl#load will now return LoadSummary which encapsulates the start time, end time, number of records/bytes.

Co-authored-by: David Jacot <djacot@confluent.io>

Reviewers:  Ritika Reddy <rreddy@confluent.io>, Calvin Liu <caliu@confluent.io>, David Jacot <djacot@confluent.io>, Justine Olshan <jolshan@confluent.io>
2023-10-17 16:06:23 -07:00
..
.scalafmt.conf MINOR: Update to Scala 2.13.12 (#14430) 2023-09-24 06:05:12 -07:00
checkstyle.xml KAFKA-15476: Resolves cache misses in checkstyle (#14344) 2023-09-19 10:51:57 +02:00
import-control-core.xml KAFKA-15466: Add KIP-919 support for some admin APIs (#14399) 2023-09-26 14:43:42 -07:00
import-control-jmh-benchmarks.xml KAFKA-15034: Improve performance of the ReplaceField SMT; add JMH benchmark (#13776) 2023-06-01 15:14:31 -04:00
import-control-metadata.xml KAFKA-15219: KRaft support for DelegationTokens (#14083) 2023-08-19 14:01:08 -04:00
import-control-server-common.xml KAFKA-15466: Add KIP-919 support for some admin APIs (#14399) 2023-09-26 14:43:42 -07:00
import-control-storage.xml KAFKA-15399: Enable OffloadAndConsumeFromLeader test (#14285) 2023-08-28 12:29:50 +02:00
import-control.xml KAFKA-14519; [1/N] Implement coordinator runtime metrics (#14417) 2023-10-17 16:06:23 -07:00
java.header MINOR: improve license header check by providing head file instead of (prefix) header regex 2017-02-28 12:35:04 -08:00
suppressions.xml KAFKA-14519; [1/N] Implement coordinator runtime metrics (#14417) 2023-10-17 16:06:23 -07:00