[pdm-devel] [RFC datacenter-manager 0/5] show uptrending datastores in dashboard panel

Christian Ebner c.ebner at proxmox.com
Mon Oct 27 15:25:46 CET 2025


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





More information about the pdm-devel mailing list