muskan1012 commented on code in PR #6321:
URL: https://github.com/apache/ozone/pull/6321#discussion_r1650330134
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMPerformanceMetrics.java:
##########
@@ -119,6 +119,21 @@ public static void unregister() {
@Metric(about = "resolveBucketLink latency in listKeys")
private MutableRate listKeysResolveBucketLatencyNs;
+ @Metric(about = "deleteKeyFailure latency in nano seconds")
+ private MutableRate deleteKeyFailureLatencyNs;
+
+ @Metric(about = "deleteKeySuccess latency in nano seconds")
+ private MutableRate deleteKeySuccessLatencyNs;
Review Comment:
We are creating these metrics (latency related) in OMPerformance class for
tracking performance and those counter metrics are available on another metric
class OMMetric. That's why I have done it in this way.
--
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]