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

Simplify access to MetricStore

    XMLWordPrintableJSON

Details

    Description

      A few utility methods can be added to the MetricStore, which would make working with it a lot easier.

      This includes getXMetricStore(args) methods that, for example, return the appropriate TaskMetricStore, without requiring the accessor to traverse the structure(and do several null checks) themselves.

      In addition, a getMetric(name, defaultValue) method would ease the issue of metrics not being updated yet.

      Attachments

        Activity

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: