graphs: make the interval configurable

This commit is contained in:
Girish Ramakrishnan
2025-05-22 11:17:31 +02:00
parent 3c01673741
commit 9c477710b9
3 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ function create() {
return [null, result.body];
},
async getMetricStream() {
return new EventSource(`${API_ORIGIN}/api/v1/system/metricstream?access_token=${accessToken}`);
return new EventSource(`${API_ORIGIN}/api/v1/system/metricstream?access_token=${accessToken}&intervalSecs=3`);
}
};
}