[PATCH datacenter-manager v5 0/6] metric collection for the PDM host

Lukas Wagner
2026-04-24T11:34:59Z

This series add metric collection physical PDM hosts.

The proxmox-datacenter-manager patches add the needed collection loop, API
types and UI elements.

NOTE: This needs a yet-to-be-released bumped yew-comp

Changes since v4:
- rebased
- drop already applied patches

Changes since v3:
- moved RRD value render helpers to yew-comp (thx Shannon!)
- included Michael's T-b/R-b trailers! (thx!)

Changes since v2:
- rebased
- adapted PDM part to changes in proxmox-disks (minor, only renaming)
- drop already applied patches for 'proxmox'
- drop patches for 'proxmox-backup' - these need to be adapted for the refactoring of
proxmox-disks and are pretty much independent of this series here, so they will be posted
separately

Changes since v1:
- rebased
- fixed failing unit test
- fixed mistake in Cargo.toml
- dropped patch for proxmox-sys, Fabian fixed the issue
using another approach

proxmox-datacenter-manager:

Lukas Wagner (6):
metric collection: collect PDM host metrics in a new collection task
api: fix /nodes/localhost/rrddata endpoint
pdm: node rrd data: rename 'total-time' to
'metric-collection-total-time'
pdm-api-types: add PDM host metric fields
ui: node status: add RRD graphs for PDM host metrics
ui: lxc/qemu/node: use RRD value render helpers from yew-comp

Cargo.toml | 2 +
debian/control | 2 +
lib/pdm-api-types/src/rrddata.rs | 74 ++++-
lib/pdm-client/src/lib.rs | 2 +-
server/Cargo.toml | 2 +
server/src/api/nodes/mod.rs | 2 +-
server/src/api/nodes/rrddata.rs | 73 +++-
.../local_collection_task.rs | 199 +++++++++++
server/src/metric_collection/mod.rs | 21 +-
server/src/metric_collection/rrd_task.rs | 185 +++++++++++
ui/src/administration/node_status.rs | 312 +++++++++++++++++-
ui/src/pbs/node/overview.rs | 28 +-
ui/src/pve/lxc/overview.rs | 34 +-
ui/src/pve/node/overview.rs | 28 +-
ui/src/pve/qemu/overview.rs | 34 +-
15 files changed, 874 insertions(+), 124 deletions(-)
create mode 100644 server/src/metric_collection/local_collection_task.rs

Summary over all repositories:
15 files changed, 874 insertions(+), 124 deletions(-)

--
Generated by murpp 0.12.0