tjiuming commented on code in PR #17041:
URL: https://github.com/apache/pulsar/pull/17041#discussion_r960861522


##########
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/stats/MetadataStoreStats.java:
##########
@@ -76,12 +60,12 @@ public final class MetadataStoreStats implements 
AutoCloseable {
     public MetadataStoreStats(String metadataStoreName) {
         this.metadataStoreName = metadataStoreName;
 
-        this.getOpsSucceedChild = GET_OPS_SUCCEED.labels(metadataStoreName);
-        this.delOpsSucceedChild = DEL_OPS_SUCCEED.labels(metadataStoreName);
-        this.puttOpsSucceedChild = PUT_OPS_SUCCEED.labels(metadataStoreName);
-        this.getOpsFailedChild = GET_OPS_FAILED.labels(metadataStoreName);
-        this.delOpsFailedChild = DEL_OPS_FAILED.labels(metadataStoreName);
-        this.putOpsFailedChild = PUT_OPS_FAILED.labels(metadataStoreName);
+        this.getOpsSucceedChild = OPS_SUCCEED.labels(metadataStoreName, 
OPS_TYPE_GET);

Review Comment:
   personal code style



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

Reply via email to