Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12680

Add timer type to metric system

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Runtime / Metrics
    • None

    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 types 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. We are happy to contribute it if there is agreement on it being a good addition.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pgoyal Piyush Goyal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: