mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
Display total number of returned elements on console (#2532)
Display total number of returned elements on console
This commit is contained in:
parent
e18be8d1a5
commit
dafae52efa
2 changed files with 80 additions and 79 deletions
File diff suppressed because one or more lines are too long
|
|
@ -415,7 +415,8 @@ Prometheus.Graph.prototype.submitQuery = function() {
|
|||
return;
|
||||
}
|
||||
var duration = new Date().getTime() - startTime;
|
||||
self.evalStats.html("Load time: " + duration + "ms <br /> Resolution: " + resolution + "s");
|
||||
var totalTimeSeries = xhr.responseJSON.data.result.length;
|
||||
self.evalStats.html("Load time: " + duration + "ms <br /> Resolution: " + resolution + "s <br />" + "Total time series: " + totalTimeSeries);
|
||||
self.spinner.hide();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue