You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/05 13:50:02 UTC

[jira] [Commented] (FLINK-7575) Dashboard jobs/tasks metrics display 0 when metrics are not yet available

    [ https://issues.apache.org/jira/browse/FLINK-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153661#comment-16153661 ] 

ASF GitHub Bot commented on FLINK-7575:
---------------------------------------

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 <ja...@data-artisans.com>
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 <ja...@data-artisans.com>
Date:   2017-09-05T10:25:40Z

    [FLINK-7575] [webui] Rebuild the dashboard

commit be71dd93503b64c11e49ca6e8ee01a687770c3e6
Author: James Lafa <ja...@data-artisans.com>
Date:   2017-09-05T12:30:35Z

    [FLINK-7575] [webui] Move metricsFetched to MutableIOMetrics

----


> Dashboard jobs/tasks metrics display 0 when metrics are not yet available
> -------------------------------------------------------------------------
>
>                 Key: FLINK-7575
>                 URL: https://issues.apache.org/jira/browse/FLINK-7575
>             Project: Flink
>          Issue Type: Improvement
>          Components: Webfrontend
>    Affects Versions: 1.3.2
>            Reporter: James Lafa
>            Assignee: James Lafa
>            Priority: Minor
>
> The web frontend is currently displaying "0" when a metric is not available yet (ex: records-in/out, bytes-in/out). 
> 0 is misleading and it's preferable to display no value while the value is still unknown.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)