mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 17:13:22 +00:00
Add one graph to page even when no graphs specified in URL.
This commit is contained in:
parent
f47dfc458c
commit
893eebe77c
@ -327,6 +327,9 @@ function init() {
|
||||
});
|
||||
|
||||
var options = parseGraphOptionsFromUrl();
|
||||
if (options.length == 0) {
|
||||
options.push({});
|
||||
}
|
||||
for (var i = 0; i < options.length; i++) {
|
||||
addGraph(options[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user