You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "aryangupta1998 (via GitHub)" <gi...@apache.org> on 2025/03/03 15:13:58 UTC

Re: [PR] HDDS-12442. Add latency metrics for OM deletion services [ozone]

aryangupta1998 commented on code in PR #7986:
URL: https://github.com/apache/ozone/pull/7986#discussion_r1977693522


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMPerformanceMetrics.java:
##########
@@ -299,4 +309,16 @@ public MutableRate getGetObjectTaggingAclCheckLatencyNs() {
   public void addGetObjectTaggingLatencyNs(long latencyInNs) {
     getObjectTaggingAclCheckLatencyNs.add(latencyInNs);
   }
+
+  public void setLatencyDirectoryDeletingService(long latencyInNs) {

Review Comment:
   As we are setting the latency in ms, let's use the variable denoting ms,
   ```suggestion
     public void setLatencyDirectoryDeletingServiceMs(long latencyInMs) {
       latencyDirectoryDeletingService.set(latencyInMs);
   }
   
   ```



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org