GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/2983
KAFKA-5135: Controller Health Metrics (KIP-143) You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka kafka-5135-controller-health-metrics-kip-143 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2983.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2983 ---- commit 2b5431f35c1b4d8fe6590d25565e339948d9f43f Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-05-05T13:06:08Z Refactor BrokerTopicStats and ControllerStats so that they are classes This removes the need to force object initialisation via hacks to register the relevant metrics during start-up. commit 3edaabfca5eac806cdf4d8f8e84463f7573e0eaa Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-05-05T13:47:58Z Add timer metrics commit e6e3270e0621a61363743eb2a108190b8ec9196c Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-05-05T13:48:11Z Code clean-ups commit 9b99aacafec40b0ba605ccb34d4fd3f9d7ae1298 Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-05-05T15:46:03Z Add controller state metric commit 7d6e840c6efe9c103443d7d705169ee9038179e9 Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-05-05T15:46:44Z Use volatile variables instead of `AtomicInteger` and other clean-ups We donât use any functionality from `AtomicInteger`, we simply set and read values. commit bc393781bf367561e723dd472e39b9a3373e5963 Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-05-05T16:02:05Z Add ControllerChannelManager queue size metrics commit f609906454d80059d4f8a41fe2010f7ecaf542cd Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-05-05T16:29:20Z Add FailedIsrUpdatesPerSec metric ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---