vrajat commented on code in PR #15387:
URL: https://github.com/apache/pinot/pull/15387#discussion_r2017945811


##########
pinot-common/src/main/java/org/apache/pinot/common/metrics/BrokerMeter.java:
##########
@@ -18,195 +18,134 @@
  */
 package org.apache.pinot.common.metrics;
 
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
 import org.apache.pinot.common.Utils;
-
+import org.apache.pinot.spi.exception.QueryErrorCode;
 
 /**
- * Enumeration containing all the metrics exposed by the Pinot broker.
+ * Class containing all the metrics exposed by the Pinot broker.

Review Comment:
   Is another option not to use this class ? Since you are generating metrics 
dynamically, create a separate class for that ? That seems like a clean 
separation. 
   wrt to dev u/x adding a metric is different. 
   
   One more thing - the javadocs have been removed. 
   



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to