From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 14FB21FF140 for ; Fri, 24 Apr 2026 13:34:59 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id DEE3914B70; Fri, 24 Apr 2026 13:34:58 +0200 (CEST) From: Lukas Wagner To: pdm-devel@lists.proxmox.com Subject: [PATCH datacenter-manager v5 0/6] metric collection for the PDM host Date: Fri, 24 Apr 2026 13:34:12 +0200 Message-ID: <20260424113418.278367-1-l.wagner@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1777030375063 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.096 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [lib.rs,rrddata.rs,overview.rs,mod.rs] Message-ID-Hash: TJOUMQCRHXUT7STGJRYFGHI6AFPTZ747 X-Message-ID-Hash: TJOUMQCRHXUT7STGJRYFGHI6AFPTZ747 X-MailFrom: l.wagner@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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