You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2016/12/07 20:35:58 UTC

[jira] [Created] (MESOS-6750) Metrics on the Agent view of the Mesos web UI flickers between empty and non-empty states

Joseph Wu created MESOS-6750:
--------------------------------

             Summary: Metrics on the Agent view of the Mesos web UI flickers between empty and non-empty states
                 Key: MESOS-6750
                 URL: https://issues.apache.org/jira/browse/MESOS-6750
             Project: Mesos
          Issue Type: Bug
          Components: webui
    Affects Versions: 1.1.0, 1.0.2
            Reporter: Joseph Wu
            Assignee: haosdent
            Priority: Minor


When viewing a specific agent on the Mesos WebUI, the metrics panel on the left side of the UI will alternate between having values and being empty.

This is due to two different callbacks that run:
* This one sets the metrics into the {{$scope.state}} variable: https://github.com/apache/mesos/blob/1.1.x/src/webui/master/static/js/controllers.js#L564-L577
* This one blows away the {{$scope.state}} in favor of a new one: https://github.com/apache/mesos/blob/1.1.x/src/webui/master/static/js/controllers.js#L521

The metrics callback should simply assign to a different variable.



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