Add system monitoring tools to track server health and performance

Implements a SystemMonitoringPage with real-time metrics, scheduled tasks via node-cron, and an error tracking middleware.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: c5f0c281-8dd8-4846-b452-4a07bcd21062
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/53043054-81f8-48da-804c-936ffa3007e0.jpg
This commit is contained in:
ghaddaditw
2025-06-08 06:58:00 +00:00
parent c21d5ecfad
commit 9c1bce3c4c
6 changed files with 741 additions and 1 deletions
+3
View File
@@ -184,6 +184,9 @@ export async function registerRoutes(app: Express): Promise<Server> {
});
});
// Apply error tracking middleware at the end
app.use(errorTrackingMiddleware);
const httpServer = createServer(app);
return httpServer;
}