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)