[ https://issues.apache.org/jira/browse/FLINK-12680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piyush Goyal updated FLINK-12680: --------------------------------- Description: Currently Flink metric system supports counter, gauge, histogram and meter. For cases which involve measuring the latency of short-term events (such as request latency in the context of 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. Timer type will be a nice addition to the existing metric types in Flink. was: Currently Flink metric system supports counter, gauge, histogram and meter. For cases which involve measuring the latency of short-term events (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. Timer type will be a nice addition to the existing metric types in Flink. > 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 > Priority: Major > > Currently Flink metric system supports counter, gauge, histogram and meter. > For cases which involve measuring the latency of short-term events (such as > request latency in the context of 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. > 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)