mirror of https://github.com/prometheus/prometheus
Merge pull request #886 from prometheus/fabxc/fixui
web/js: fix display error for vectors in consolepull/890/head
commit
b0efbf8c98
File diff suppressed because one or more lines are too long
|
@ -579,7 +579,7 @@ Prometheus.Graph.prototype.handleConsoleResponse = function(data, textStatus) {
|
|||
for (var i = 0; i < data.result.length; i++) {
|
||||
var s = data.result[i];
|
||||
var tsName = self.metricToTsName(s.metric);
|
||||
tBody.append("<tr><td>" + escapeHTML(tsName) + "</td><td>" + s[1] + "</td></tr>");
|
||||
tBody.append("<tr><td>" + escapeHTML(tsName) + "</td><td>" + s.value[1] + "</td></tr>");
|
||||
}
|
||||
break;
|
||||
case "matrix":
|
||||
|
|
Loading…
Reference in New Issue