You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Piyush Goyal (JIRA)" <ji...@apache.org> on 2019/05/30 01:47:00 UTC

[jira] [Created] (FLINK-12680) Add timer type to metric system

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)