apps: make app graphs use GraphItem

This commit is contained in:
Girish Ramakrishnan
2025-07-03 16:39:04 +02:00
parent 1ebbfe5d92
commit a6a715b8c2
3 changed files with 126 additions and 144 deletions
+3
View File
@@ -407,6 +407,9 @@ function create() {
if (result.status !== 200) return [result];
return [null, result.body];
},
async getMetricStream(id, intervalMsecs) {
return new EventSource(`${API_ORIGIN}/api/v1/apps/${id}/metricstream?access_token=${accessToken}&intervalMsecs=${intervalMsecs}`);
},
async repair(id, data) {
let result;
try {