rmatharu commented on a change in pull request #1301: New kv metric
URL: https://github.com/apache/samza/pull/1301#discussion_r387912986
 
 

 ##########
 File path: samza-api/src/main/java/org/apache/samza/metrics/SamzaHistogram.java
 ##########
 @@ -60,6 +60,11 @@ public void updateGaugeValues(double percentile) {
     gauges.get(percentile).set(values.getValue(percentile / 100));
   }
 
+  //for debug
+  public Map<Double, Gauge<Double>> getGauges() {
+    return gauges;
+  }
 
 Review comment:
   Is this only for testing?
   In that case you can make it package-private and use @visiblefortesting flag.

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

Reply via email to