prateekm commented on a change in pull request #1418:
URL: https://github.com/apache/samza/pull/1418#discussion_r472397514
##########
File path: samza-api/src/main/java/org/apache/samza/metrics/SamzaHistogram.java
##########
@@ -81,6 +81,10 @@ public void visit(MetricsVisitor visitor) {
* and do not have MetricsReporter to update the values.
*/
public Double getValue() {
+ if (gauges == null) {
Review comment:
Please add an inline comment for when this can happen.
----------------------------------------------------------------
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]