From 9c1e23e241490f6d66dd8224fb549964333c0076 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 3 Apr 2024 15:37:48 -0600 Subject: [PATCH] Include gpu --- web/src/pages/System.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/pages/System.tsx b/web/src/pages/System.tsx index a7771532a..eb472a10f 100644 --- a/web/src/pages/System.tsx +++ b/web/src/pages/System.tsx @@ -215,7 +215,10 @@ function GeneralMetrics({ lastUpdated, setLastUpdated }: GeneralMetricsProps) { // stats const { data: initialStats } = useSWR( - ["stats/history", { keys: "cpu_usages,detectors,processes,service" }], + [ + "stats/history", + { keys: "cpu_usages,detectors,gpu_usages,processes,service" }, + ], { revalidateOnFocus: false, },