Include gpu

This commit is contained in:
Nicolas Mowen 2024-04-03 15:37:48 -06:00
parent ad9d115b67
commit 9c1e23e241

View File

@ -215,7 +215,10 @@ function GeneralMetrics({ lastUpdated, setLastUpdated }: GeneralMetricsProps) {
// stats // stats
const { data: initialStats } = useSWR<FrigateStats[]>( const { data: initialStats } = useSWR<FrigateStats[]>(
["stats/history", { keys: "cpu_usages,detectors,processes,service" }], [
"stats/history",
{ keys: "cpu_usages,detectors,gpu_usages,processes,service" },
],
{ {
revalidateOnFocus: false, revalidateOnFocus: false,
}, },