flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4775) Simplify access to MetricStore
Date Fri, 07 Oct 2016 15:02:20 GMT
Chesnay Schepler created FLINK-4775:
---------------------------------------

             Summary: Simplify access to MetricStore
                 Key: FLINK-4775
                 URL: https://issues.apache.org/jira/browse/FLINK-4775
             Project: Flink
          Issue Type: Improvement
          Components: Metrics, Webfrontend
    Affects Versions: 1.1.2
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.2.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message