From ca4e1e207c13c91e4ecb2ca4e3448082e834fcf8 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 13 Oct 2022 22:38:44 +0200 Subject: [PATCH] return cpuCount from app/service graphs as well --- src/graphs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/graphs.js b/src/graphs.js index cb18d8cb4..98c6b256d 100644 --- a/src/graphs.js +++ b/src/graphs.js @@ -69,7 +69,8 @@ async function getContainerStats(name, fromMinutes, noNullPoints) { blockRead: results[2], blockWrite: results[3], networkRead: results[4], - networkWrite: results[5] + networkWrite: results[5], + cpuCount: os.cpus().length }; }