tanvipenumudy commented on code in PR #6439:
URL: https://github.com/apache/ozone/pull/6439#discussion_r1603119556


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java:
##########
@@ -1430,6 +1432,10 @@ public static SCMMetrics getMetrics() {
     return metrics == null ? SCMMetrics.create() : metrics;
   }
 
+  public static SCMPerformanceMetrics getPerfMetrics() {

Review Comment:
   You will also need to create/register the newly added metrics instance 
separately during server startup. Please refer: `SCMMetrics.create()`. 
   
   This would only register the metrics system when the method 
`getPerfMetrics()` is called.



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