tanvipenumudy commented on code in PR #4383:
URL: https://github.com/apache/ozone/pull/4383#discussion_r1135184811
##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectEndpoint.java:
##########
@@ -968,6 +987,8 @@ private CopyObjectResponse copyObject(OzoneVolume volume,
CopyObjectResponse copyObjectResponse = new CopyObjectResponse();
copyObjectResponse.setETag(OzoneUtils.getRequestID());
copyObjectResponse.setLastModified(destKeyDetails.getModificationTime());
+ getLatencyMetrics().addCopyObjectLatencyNs(
+ Time.monotonicNowNanos() - start);
Review Comment:
Thank you for the suggestion, @jojochuang. I will be working on implementing
the necessary modifications.
--
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]