From ecb2c545c18b15f3827a36020f87d07e9a0d4665 Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Sat, 28 Mar 2026 07:42:16 -0400 Subject: [PATCH] refactor(proxmox): recreate statistics page UI, inline telemetry charts - Match overview design: resource card, gradient section headers, help modals - Inline Live Telemetry (ApexCharts IDs unchanged); remove telemetry partial - Add copyToClipboard script for parity with overview Made-with: Cursor --- .../views/partials/telemetry-charts.blade.php | 311 ------- .../Proxmox/views/statistics.blade.php | 875 ++++++++++++------ 2 files changed, 612 insertions(+), 574 deletions(-) delete mode 100644 extensions/Servers/Proxmox/views/partials/telemetry-charts.blade.php diff --git a/extensions/Servers/Proxmox/views/partials/telemetry-charts.blade.php b/extensions/Servers/Proxmox/views/partials/telemetry-charts.blade.php deleted file mode 100644 index 7269f7719..000000000 --- a/extensions/Servers/Proxmox/views/partials/telemetry-charts.blade.php +++ /dev/null @@ -1,311 +0,0 @@ -{{-- Live telemetry: ApexCharts targets (#cpu-chart, etc.) + wire bindings must stay stable for @script initializers --}} - -
-
-
-
- Loading telemetry… -
-
- -
-
-
-
- - - -

Live telemetry

-
-

- RRD-backed series from your hypervisor: CPU, memory, network (with 95th percentile), and disk I/O. - Adjust range and aggregation per chart; data refreshes every two minutes and when you change filters. -

-
-
- - Polls VM status with the page header; graph series use Proxmox rrddata. -
-
- -
- {{-- CPU --}} -
-
-
- - - -
-

Processor

-

Utilization (%)

-
-
-
- - - -
-
-
- About this chart -

CPU from RRD as a share of allocated cores (shown as percent). Export includes timestamps and values.

-
-
-
-
- Preparing chart… -
-
-
-
-
- - {{-- Network --}} -
-
-
- - - -
-

Network

-

Throughput + 95th percentile

-
-
-
- - - -
-
-
- About this chart -

Inbound and outbound rates plus a dashed 95th percentile of combined traffic (common for capacity planning).

-
-
-
-
- Preparing chart… -
-
-
-
-
- - {{-- Memory --}} -
-
-
- - - -
-

Memory

-

Guest RAM (bytes)

-
-
-
- - - -
-
-
- About this chart -

Uses Proxmox RRD mem with axis capped by current VM max memory when available.

-
-
-
-
- Preparing chart… -
-
-
-
-
- - {{-- Disk --}} -
-
-
- - - -
-

Disk I/O

-

Read / write rates

-
-
-
- - - -
-
-
- About this chart -

Disk read and write bytes per second from RRD. Pair with task history when investigating spikes.

-
-
-
-
- Preparing chart… -
-
-
-
-
-
-
-
diff --git a/extensions/Servers/Proxmox/views/statistics.blade.php b/extensions/Servers/Proxmox/views/statistics.blade.php index 515816245..9edcfc04f 100644 --- a/extensions/Servers/Proxmox/views/statistics.blade.php +++ b/extensions/Servers/Proxmox/views/statistics.blade.php @@ -2,6 +2,22 @@ @once @endonce +
@@ -79,87 +95,400 @@
-

+

Monitor your server's performance metrics and resource utilization over time.

- @include('proxmox::partials.telemetry-charts') + +
+
+
+
+
+ Loading telemetry… +
+
+ +
+
+
+

Live Telemetry

+
+ + + +
+
+

CPU, memory, network (with 95th percentile), and disk I/O from Proxmox rrddata.

+
+

Polls with graph refresh every 2 minutes.

+
+ +
+ {{-- CPU --}} +
+
+
+
+ +
+
+

Processor

+

Utilization (%)

+
+
+
+ + + +
+
+
+
+
+ Preparing chart… +
+
+
+
+
+ + {{-- Network --}} +
+
+
+
+ +
+
+

Network

+

Throughput + 95th percentile

+
+
+
+ + + +
+
+
+
+
+ Preparing chart… +
+
+
+
+
+ + {{-- Memory --}} +
+
+
+
+ +
+
+

Memory

+

Guest RAM (bytes)

+
+
+
+ + + +
+
+
+
+
+ Preparing chart… +
+
+
+
+
+ + {{-- Disk --}} +
+
+
+
+ +
+
+

Disk I/O

+

Read / write rates

+
+
+
+ + + +
+
+
+
+
+ Preparing chart… +
+
+
+
+
+
+
+
@php $statisticsExportRows = []; @endphp -
-
-

- - Statistics History -
- - - - -

-
+
@@ -514,74 +843,80 @@ @php $taskHistoryExportRows = []; @endphp -
-
-

- - Task History -
- - - - -

-
+
- - - -
-
+