Re: FlinkCounterWrapper

2020-10-02 Thread Richard Moorhead
being reported. In this way we report only the change in the counter. > Currently it seems that FlinkCounterWrapper doesnt mutate the wrapped > counter when either inc or dec is called; would this be a valid improvement? > > > > https://github.com/apache/flink/blob/master/flink-metrics/

FlinkCounterWrapper

2020-10-02 Thread Richard Moorhead
We have a use case wherein counters emitted by flink are decremented after being reported. In this way we report only the change in the counter. Currently it seems that FlinkCounterWrapper doesnt mutate the wrapped counter when either inc or dec is called; would this be a valid improvement