GitHub user zd-project opened a pull request: https://github.com/apache/storm/pull/2771
STORM-3157: General improvement to StormMetricsRegistry This contains and address the issues in #2763. This should help standardize the process to register metrics and MetricSet in the future. You can merge this pull request into a Git repository by running: $ git pull https://github.com/zd-project/storm STORM-3157 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/2771.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 #2771 ---- commit 802014c88a67ae5ef044c1f87889d976063eee71 Author: Zhengdai Hu <hu.zhengdai@...> Date: 2018-07-12T16:31:00Z STORM-3150: Improve Gauge registration methods and refactored code commit 2cd815011cb0bb37c124d2360c3bcc757d926038 Author: Zhengdai Hu <hu.zhengdai@...> Date: 2018-07-19T15:46:29Z STORM-3150: Refactoring commit ff45063c7ce1516c2d887d64affea636e2f031a1 Author: Zhengdai Hu <hu.zhengdai@...> Date: 2018-07-20T18:41:51Z STORM-3157: Improve StormMetricsRegistry in general ---- ---