public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [RFC datacenter-manager 0/5] show uptrending datastores in dashboard panel
Date: Mon, 27 Oct 2025 15:25:46 +0100	[thread overview]
Message-ID: <20251027142551.458160-1-c.ebner@proxmox.com> (raw)

This patch series drafts a possible compromise for datastore usage
statistics, when accumulated into the PBS datastore dashboard panel.

Instead of splitting the usage statistics into high and critical
levels, only show datastores as critical with over 95% of storage
usage and show datastores which are estimated to be full in the near
future (arbitrarily set to 1 week for this RFC version).

This approach provides a clear distinction between the current usage
values and estimated full values, which might be harder to comprehend
if intermangled.

What makes me a bit hesitating (therefore sending this as RFC) is that
the estimated full is rather inprecise as the used linear regression
is only able to give a rough estimate at best. Further, it is
calculated based on monthly average RRD usage data, so it is
insensitive to rather quick changes, which however might be more
important for this.

Christian Ebner (5):
  pdm-api-types/ui/resources: rename and bump PBS datastore high-usage
  pdm-api-types: extend datastore resources by optional estimated full
  server: resources: account for datastores with upwards usage trend
  ui: dashboard: show datastores with upwards trend in stats panel
  pdm-api-types: calculate upwards trending datastore usage property

 lib/pdm-api-types/src/resource.rs        | 32 +++++++++++++++++++-----
 server/src/api/resources.rs              | 24 +++++++++++++++---
 ui/src/dashboard/pbs_datastores_panel.rs | 20 ++++++++++-----
 3 files changed, 61 insertions(+), 15 deletions(-)

-- 
2.47.3



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


             reply	other threads:[~2025-10-27 14:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-27 14:25 Christian Ebner [this message]
2025-10-27 14:25 ` [pdm-devel] [RFC datacenter-manager 1/5] pdm-api-types/ui/resources: rename and bump PBS datastore high-usage Christian Ebner
2025-10-27 14:25 ` [pdm-devel] [RFC datacenter-manager 2/5] pdm-api-types: extend datastore resources by optional estimated full Christian Ebner
2025-10-27 14:25 ` [pdm-devel] [RFC datacenter-manager 3/5] server: resources: account for datastores with upwards usage trend Christian Ebner
2025-10-27 14:25 ` [pdm-devel] [RFC datacenter-manager 4/5] ui: dashboard: show datastores with upwards trend in stats panel Christian Ebner
2025-10-27 14:25 ` [pdm-devel] [RFC datacenter-manager 5/5] pdm-api-types: calculate upwards trending datastore usage property Christian Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251027142551.458160-1-c.ebner@proxmox.com \
    --to=c.ebner@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal