You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2017/01/25 14:50:26 UTC

[jira] [Commented] (MESOS-6988) WebUI redirect doesn't work with stats from /metrics/snapshot

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

haosdent commented on MESOS-6988:
---------------------------------

hi, [~xujyan] I just check the code, it looks like we have always read this endpoint from the leading master
{code}
mesos/src/webui/master/static/js/controllers.js:
  428  
  429      var pollMetrics = function() {
  430:       $http.jsonp(leadingMasterURL('/metrics/snapshot?jsonp=JSON_CALLBACK'))
  431          .success(function(response) {
  432            if (updateMetrics($scope, $timeout, response)) {
{code}

Do you encounter any problem in this?

> WebUI redirect doesn't work with stats from /metrics/snapshot
> -------------------------------------------------------------
>
>                 Key: MESOS-6988
>                 URL: https://issues.apache.org/jira/browse/MESOS-6988
>             Project: Mesos
>          Issue Type: Bug
>          Components: webui
>    Affects Versions: 1.1.0
>            Reporter: Yan Xu
>            Assignee: haosdent
>
> The issue described in MESOS-6446 is still not fixed in 1.1.0. (Especially for non-leading masters)



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