Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4063 Add Metrics Support for Triggers
  3. FLINK-4064

Allow calling MetricGroup methods multiple times

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.0
    • None
    • Runtime / Metrics
    • None

    Description

      Right now, the methods on MetricGroup can only be called once, i.e. I have to keep the result of MetricGroup.counter(name) and use that to report metrics. For some cases, such as adding metrics support in triggers, it is necessary to allow calling a method multiple times and return the same metric object. On the first call, a new metric object would be created, subsequent calls would return that metric object.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aljoscha Aljoscha Krettek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: