Suvrat1629 commented on code in PR #34307: URL: https://github.com/apache/beam/pull/34307#discussion_r2100459166
########## runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowMetrics.java: ########## @@ -225,6 +230,40 @@ private DistributionResult getDistributionValue(MetricUpdate metricUpdate) { return DistributionResult.create(sum, count, min, max); } + private GaugeResult getGaugeValue(MetricUpdate metricUpdate) { + if (metricUpdate.getGauge() == null) { + return GaugeResult.empty(); + } + Object gaugeValue = metricUpdate.getGauge(); Review Comment: @Naireen please take a look -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org