DaveTeng0 commented on code in PR #3643:
URL: https://github.com/apache/ozone/pull/3643#discussion_r935796706


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/HddsDispatcher.java:
##########
@@ -261,6 +261,7 @@ private ContainerCommandResponseProto dispatchRequest(
         // If container does not exist, create one for WriteChunk and
         // PutSmallFile request
         responseProto = createContainer(msg);
+        metrics.incContainerOpsLatencies(Type.CreateContainer);

Review Comment:
   oh! I found I actually just need to call incContainerOpsMetrics right before 
incContainerOpsLatencies at line 315. I just moved it!



-- 
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]

Reply via email to