From 290adf024c6d9a6fadbe256de293d4ff86c6ced4 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 26 May 2026 13:32:48 -0700 Subject: [PATCH] add mongo stats --- client/src/Pages/Logs/TabDiagnostics.tsx | 10 ++++++++-- client/src/Pages/Logs/index.tsx | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/client/src/Pages/Logs/TabDiagnostics.tsx b/client/src/Pages/Logs/TabDiagnostics.tsx index 7b7ae943a..2f534dbfa 100644 --- a/client/src/Pages/Logs/TabDiagnostics.tsx +++ b/client/src/Pages/Logs/TabDiagnostics.tsx @@ -1,12 +1,15 @@ import Stack from "@mui/material/Stack"; import Typography from "@mui/material/Typography"; import { Stats } from "@/Pages/Logs/components/Stats"; +import { MongoStats } from "@/Pages/Logs/components/MongoStats"; import { StatGauges } from "@/Pages/Logs/components/StatGauges"; +import { StatBox } from "@/Components/design-elements"; import { useTheme } from "@mui/material"; import { useTranslation } from "react-i18next"; import { useGet } from "@/Hooks/UseApi"; import type { Diagnostics } from "@/Types/Diagnostics"; +import { LAYOUT } from "@/Utils/Theme/constants"; export const TabDiagnostics = () => { const theme = useTheme(); @@ -24,7 +27,7 @@ export const TabDiagnostics = () => { {t("pages.logs.diagnostics.sections.runtimeStats.title")} @@ -38,7 +41,7 @@ export const TabDiagnostics = () => { {t("pages.logs.diagnostics.sections.memoryCpu.title")} @@ -48,6 +51,9 @@ export const TabDiagnostics = () => { + + + ); }; diff --git a/client/src/Pages/Logs/index.tsx b/client/src/Pages/Logs/index.tsx index 9d71e3253..62cb96eb2 100644 --- a/client/src/Pages/Logs/index.tsx +++ b/client/src/Pages/Logs/index.tsx @@ -8,7 +8,7 @@ import { useTranslation } from "react-i18next"; const LogsPage = () => { const { t } = useTranslation(); - const [activeTab, setActiveTab] = useState(1); + const [activeTab, setActiveTab] = useState(2); return (