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 5C2301FF136 for ; Mon, 09 Feb 2026 10:15:33 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 93C163E2; Mon, 9 Feb 2026 10:16:04 +0100 (CET) From: Christian Ebner To: pbs-devel@lists.proxmox.com Subject: [PATCH v1 11/11] partially fix #6563: ui: expose s3 rrd charts in datastore summary Date: Mon, 9 Feb 2026 10:15:33 +0100 Message-ID: <20260209091533.156902-18-c.ebner@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260209091533.156902-1-c.ebner@proxmox.com> References: <20260209091533.156902-1-c.ebner@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1770628463521 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.048 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: TNSRVRZJAU44SP26JHNKWKKU6V34KZ6I X-Message-ID-Hash: TNSRVRZJAU44SP26JHNKWKKU6V34KZ6I X-MailFrom: c.ebner@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 Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Show the total request counts per method as well as the total and derived upload/download s3 api statistics as rrd charts. This partially fixes issue 6563, further information such as usage statistics for the s3 backend will be implemented. Fixes: https://bugzilla.proxmox.com/show_bug.cgi?id=6563 Signed-off-by: Christian Ebner --- www/datastore/Summary.js | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/www/datastore/Summary.js b/www/datastore/Summary.js index f73827747..251e79b97 100644 --- a/www/datastore/Summary.js +++ b/www/datastore/Summary.js @@ -22,6 +22,15 @@ Ext.define('pve-rrd-datastore', { 'write_ios', 'write_bytes', 'io_ticks', + 's3/uploaded', + 's3/downloaded', + 's3/total/uploaded', + 's3/total/downloaded', + 's3/total/get', + 's3/total/put', + 's3/total/post', + 's3/total/head', + 's3/total/delete', { name: 'io_delay', calculate: function (data) { @@ -348,6 +357,45 @@ Ext.define('PBS.DataStoreSummary', { }, ], }, + { + xtype: 'proxmoxRRDChart', + title: gettext('S3 API requests'), + fields: [ + 's3/total/get', + 's3/total/put', + 's3/total/post', + 's3/total/head', + 's3/total/delete', + ], + fieldTitles: [ + gettext('GET'), + gettext('PUT'), + gettext('POST'), + gettext('HEAD'), + gettext('DELETE'), + ], + bind: { + visible: '{showS3Stats}', + }, + }, + { + xtype: 'proxmoxRRDChart', + title: gettext('S3 API download/upload rate (bytes/second)'), + fields: ['s3/downloaded', 's3/uploaded'], + fieldTitles: [gettext('Upload'), gettext('Download')], + bind: { + visible: '{showS3Stats}', + }, + }, + { + xtype: 'proxmoxRRDChart', + title: gettext('S3 API total download/upload (bytes)'), + fields: ['s3/total/downloaded', 's3/total/uploaded'], + fieldTitles: [gettext('Download'), gettext('Upload')], + bind: { + visible: '{showS3Stats}', + }, + }, { xtype: 'proxmoxRRDChart', title: gettext('Storage usage (bytes)'), -- 2.47.3