GitHub user rhauch opened a pull request: https://github.com/apache/kafka/pull/3911
Kafka 5900 You can merge this pull request into a Git repository by running: $ git pull https://github.com/rhauch/kafka kafka-5900 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3911.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 #3911 ---- commit 02da9b0ebaa9df70c0dfb34799d3a08b051b9570 Author: Randall Hauch <rha...@gmail.com> Date: 2017-09-13T14:48:14Z KAFKA-5899 Added Connect metrics for connectors Added metrics for each connector using Kafkaâs existing `Metrics` framework. Since this is the first of several changes to add several groups of metrics, this change starts by adding a very simple `ConnectMetrics` object that is owned by each worker and that makes it easy to define multiple groups of metrics, called `ConnectMetricGroup` objects. Each metric group maps to a JMX MBean, and each metric within the group maps to an MBean attribute. Future PRs will build upon this simple pattern to add metrics for source and sink tasks, workers, and worker rebalances. commit d6ea0d67cca2526b522490bf2e48c231cf4b60f0 Author: Randall Hauch <rha...@gmail.com> Date: 2017-09-14T23:17:31Z KAFKA-5900 Added worker task metrics common to both sink and source tasks commit d1b796720d5cca20195449c432da76609e9ae56b Author: Randall Hauch <rha...@gmail.com> Date: 2017-09-19T22:09:07Z KAFKA-5900 Corrected Percentiles and Histogram metric components Expanded upon the unit tests, and corrected several issues found during the expanded testing of these classes that donât appear to have been used yet. ---- ---