avijayanhwx commented on a change in pull request #570: HDDS-3035. Add ability 
to enable Ratis metrics in OzoneManager.
URL: https://github.com/apache/hadoop-ozone/pull/570#discussion_r382840418
 
 

 ##########
 File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
 ##########
 @@ -1068,14 +1074,20 @@ public OMMetrics getMetrics() {
    * Start service.
    */
   public void start() throws IOException {
-
     omClientProtocolMetrics.register();
+    HddsServerUtil.initializeMetrics(configuration, "OzoneManager");
 
 Review comment:
   One comment. We can probably add ratis reporters only if Ratis is enabled.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to