kerneltime commented on PR #6321: URL: https://github.com/apache/ozone/pull/6321#issuecomment-1979706139
@muskan1012 can you take a[ look at `captureLatencyNs` used](https://github.com/apache/ozone/blob/9a6ece27e7907f06a48ceb55406c2e196977db4c/hadoop-hdds/common/src/main/java/org/apache/hadoop/util/MetricUtil.java#L40) in https://github.com/apache/ozone/pull/3780 for capturing the latency of operation call. This will help avoid the need to capture start and stop time in each piece of the code you are trying to measure. -- 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]
