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
-2
View File
@@ -282,7 +282,6 @@ async function getContainer(name, options) {
blockWriteTotal: results[7][0] && results[7][0][0] ? results[7][0][0] : 0,
networkReadTotal: results[8][0] && results[8][0][0] ? results[8][0][0] : 0,
networkWriteTotal: results[9][0] && results[9][0][0] ? results[9][0][0] : 0,
cpuCount: os.cpus().length
};
}
@@ -368,7 +367,6 @@ async function getSystem(options) {
...systemStats, // { cpu, memory, swap, block{Read,Write}{Rate,Total}, network{Read,Write}{Rate,Total}
apps: appStats,
services: serviceStats,
cpuCount: os.cpus().length
};
}