siddhantsangwan opened a new pull request #3049: URL: https://github.com/apache/ozone/pull/3049
## What changes were proposed in this pull request? The `ContainerBalancerMetrics` class is responsible for recording metrics. These metrics always show 0 when accessed through JMX, while expected values are greater than 0. I deleted some metrics of the type `MutableGaugeLong` and instead used the type `MutableCounterLong`. Introduced a new metric `countIterations` that keeps count of the number of iterations that balancer has run for. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-6244 ## How was this patch tested? Updated TestContainerBalancer#testMetrics() -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
