GitHub user jameslafa opened a pull request:
https://github.com/apache/flink/pull/4647
[FLINK-7575] [WEB-DASHBOARD] Display "Fetching..." instead of 0 when IO
metrics are not yet retrieved
## Problem
IO metrics is the web-dashboard are retrieved asynchronously. When we
display a job's IO metrics for the first time, the API return "0" because
values are not yet available. It's misleading.
## Fix
There is now a new flag is the API called *metrics-fetched*. If its value
is **false**, the dashboard displays "Fetching..." instead of 0.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jameslafa/flink 7575-io_metrics
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4647.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4647
----
commit b14f5865967bb42207b6580ae9d719c02a9ec388
Author: James Lafa <[email protected]>
Date: 2017-09-05T09:33:34Z
[FLINK-7575] [webui] Show "Fetching" instead of 0 when IO metrics are not
yet retrieved
commit 1ab8ef42b3fd624aa495fd009a4a2f212484eb2e
Author: James Lafa <[email protected]>
Date: 2017-09-05T10:25:40Z
[FLINK-7575] [webui] Rebuild the dashboard
commit be71dd93503b64c11e49ca6e8ee01a687770c3e6
Author: James Lafa <[email protected]>
Date: 2017-09-05T12:30:35Z
[FLINK-7575] [webui] Move metricsFetched to MutableIOMetrics
----
---