Gargi-jais11 opened a new pull request, #8001: URL: https://github.com/apache/ozone/pull/8001
## What changes were proposed in this pull request? Add metrics in DiskBalancerServiceMetrics to record the time spent on container move, for both success and failure case. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12436 ## How was this patch tested? The patch was tested manually by running docker cluster and seeing the results at JMX endpoint and prometheus. At prometheus endpoint by querying for `disk_balancer_service_metrics_move_success_time_avg_time` and `disk_balancer_service_metrics_move_failure_time_avg_time` it shows the change in graph curves and the average time taken for the successful and failure moves respectively. ``` "name" : "Hadoop:service=HddsDatanode,name=DiskBalancerServiceMetrics", "modelerType" : "DiskBalancerServiceMetrics", "tag.Context" : "dfs", "tag.Hostname" : "2757e35f9c78", "FailureCount" : 6, "IdleLoopExceedsBandwidthCount" : 0, "IdleLoopNoAvailableVolumePairCount" : 0, "MoveFailureTimeNumOps" : 6, "MoveFailureTimeAvgTime" : 0.0, "MoveSuccessTimeNumOps" : 7, "MoveSuccessTimeAvgTime" : 0.0, "RunningLoopCount" : 10, "SuccessBytes" : 10412359680, "SuccessCount" : 7 ``` -- 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]
