From d4f68901ba246dea543fe09f36defbbaee3973a0 Mon Sep 17 00:00:00 2001 From: dlinux-host Date: Tue, 22 Jul 2025 21:03:44 -0400 Subject: [PATCH] Remove non-needed live view --- graph.js | 420 ------------------------------------------------------- 1 file changed, 420 deletions(-) diff --git a/graph.js b/graph.js index 12fcbe6..74c16cc 100644 --- a/graph.js +++ b/graph.js @@ -336,426 +336,6 @@ app.get('/api/graph/full-report/:containerId', async (req, res) => { const Docker = require('dockerode'); const docker = new Docker(); // Make sure Docker is properly configured -app.get('/api/graph/full-report/:containerId/live', async (req, res) => { - const { containerId } = req.params; - const timeframe = parseInt(req.query.timeframe) || 2; - const maxPoints = 30; // Limit to the last 120 seconds (2 minutes) - - const html = ` - - - - - - Live Report for ${containerId} - - - - - - -
-

Live Report for ${containerId}

-
-
-

CPU Usage

-
- -
-
-
-

Memory Usage

-
- -
-
-
-

Network Traffic

-
- -
-
-
- - - - - - - - - - - - - - -
PIDUserCommand
-
- -
- - - - - `; - - res.send(html); -}); - - - - app.get('/api/processes/:containerId', async (req, res) => { const { containerId } = req.params;