GitHub user rhauch opened a pull request: https://github.com/apache/kafka/pull/4011
KAFKA-5903: Added Connect metrics to the worker and distributed herder Added metrics to the Connect worker and rebalancing metrics to the distributed herder. This is built on top of #3987, and I can rebase this PR once that is merged. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rhauch/kafka kafka-5903 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4011.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 #4011 ---- commit d4afe3d2d0ca0c313e70266dca104caa0564d3f3 Author: Randall Hauch <rha...@gmail.com> Date: 2017-09-28T19:12:21Z KAFKA-5990 Enable generation of metrics docs for Connect A new mechanism was added recently to the Metrics framework to make it easier to generate the documentation. It uses a registry with a MetricsNameTemplate for each metric, and then those templates are used when creating the actual metrics. The metrics framework provides utilities that can generate the HTML documentation from the registry of templates. This change moves the recently-added Connect metrics over to use these templates and to then generate the metric documentation for Connect. commit d7bab224800c4d56d754b7121abb209df9715ca1 Author: Randall Hauch <rha...@gmail.com> Date: 2017-10-02T20:37:05Z KAFKA-5903 Use string-valued metrics for connector name, type, version, and status Changed from the indicator metrics for connector and task status that reported the various boolean states to a single string-valued metric for status. Also added string-valued metrics for connector name, version, and type. commit 75ffb38f32f552dbf667553f998a9cde7af6465f Author: Randall Hauch <rha...@gmail.com> Date: 2017-10-03T01:05:44Z KAFKA-5903 Added Connect worker metrics commit 24efd5f29fe4b23da0c7f9949361b14fad8fbc4e Author: Randall Hauch <rha...@gmail.com> Date: 2017-10-04T05:15:19Z KAFKA-5904 Added Connect rebalancing metrics to distributed herder Added the rebalancing metrics to the distributed herder. ---- ---