[ https://issues.apache.org/jira/browse/FLINK-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594797#comment-15594797 ]
Robert Metzger commented on FLINK-4775: --------------------------------------- There is a PR for this JIRA now: https://github.com/apache/flink/pull/2615 > 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)