I am running a streaming job on flink and want to monitor MIN and MAX ranges of a metric floating through operator. I did it via org.apache.beam.sdk.metrics.Distribution
Problem is, that it seems to report only cumulative values. What I would want instead is discrete report for MIN / MAX which were seen in each particular report interval.
Is there a way to get non-cumulative data from beam distribution metrics? What are my options?
The obvious workaround is to track it "manually" and submit 2 gauge metrics. I hope there is a better way ... Is there?