You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nw...@apache.org on 2019/01/11 08:02:42 UTC
[incubator-heron] branch master updated: Clean up metrics section
in Heron UI (#3153)
This is an automated email from the ASF dual-hosted git repository.
nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new 013bf35 Clean up metrics section in Heron UI (#3153)
013bf35 is described below
commit 013bf353363d58f352dc34a65eacb8d15e1ef29c
Author: Ning Wang <nw...@twitter.com>
AuthorDate: Fri Jan 11 00:02:36 2019 -0800
Clean up metrics section in Heron UI (#3153)
---
heron/tools/ui/resources/static/js/stat-trendlines.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/heron/tools/ui/resources/static/js/stat-trendlines.js b/heron/tools/ui/resources/static/js/stat-trendlines.js
index bba30f9..b9f59e8 100644
--- a/heron/tools/ui/resources/static/js/stat-trendlines.js
+++ b/heron/tools/ui/resources/static/js/stat-trendlines.js
@@ -207,10 +207,8 @@ function StatTrendlines(baseUrl, cluster, environ, toponame, physicalPlan, logic
} else if (instance === '*') {
d3.select('#trendline-title').text(name + ' Metrics');
} else {
- d3.select('#trendline-title').text('Instance Metrics');
- }
+ d3.select('#trendline-title').text(instance + ' Metrics');
- if (instance !== '*') {
container = instance.split("_")[1];
target
.append('div')
@@ -220,7 +218,6 @@ function StatTrendlines(baseUrl, cluster, environ, toponame, physicalPlan, logic
'<a class="btn btn-primary btn-xs" target="_blank" href="/topologies/filestats/' + cluster + '/' + environ + '/' + toponame + '/' + container + '">job</a>',
'<a class="btn btn-primary btn-xs" target="_blank" href="/topologies/' + cluster + '/' + environ + '/' + toponame + '/' + name + '/' + instance + '/exceptions">exceptions</a>',
'<br>',
- instance
].join(' '));
}
};