mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08: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
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