Piyush Goyal created FLINK-12680:
------------------------------------

             Summary: Add timer type to metric system
                 Key: FLINK-12680
                 URL: https://issues.apache.org/jira/browse/FLINK-12680
             Project: Flink
          Issue Type: Improvement
            Reporter: Piyush Goyal


Currently Flink metric system supports counter, gauge, histogram and meter. For 
cases which involve measuring the latency of a certain short-term event (such 
as request latency in a connector), none of these metric type is a good fit. 
Most metric system supports a timer type which is highly useful in such cases. 
Timers are useful for measuring short-duration latencies and the frequency of 
such events. All implementations of {{Timer}} report at least the total time 
and count of events as separate time series.

A timer type will be a nice addition to the existing metric types in Flink.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to