Joseph295 commented on a change in pull request #2035:
URL: https://github.com/apache/hbase/pull/2035#discussion_r451923319



##########
File path: 
hbase-metrics-api/src/main/java/org/apache/hadoop/hbase/metrics/Histogram.java
##########
@@ -55,4 +55,10 @@
   @InterfaceAudience.Private
   Snapshot snapshot();
 
+  long[] getQuantiles(double[] quantiles);

Review comment:
       snapshot() will  be better, but the implementation will reset the data 
before, which makes no senses for histogram metrics. I haven't gotten the 
reason.Another thing is the interfaces in Histogram are not enough? There are 
getMin, getMax, usually we need quantiles?




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


Reply via email to