[pbs-devel] [RFC PATCH proxmox-backup 0/3] show upload statistics in gui

Dominik Csapak d.csapak at proxmox.com
Tue Aug 1 11:29:51 CEST 2023


Sending as RFC because:
* not sure if we want to increase the size of the 'list snapshots' api
  call even further (albeit by a small amount per snapshot that we
  already have anyway in memory)
* not sure if we want to have another action in the gui

alternatively we could:
* add a seperate api call to get detailed info about a snapshot
  (incl the upload statistics)
* add the info as a tooltip to the 'size' column (or somewhere else?)
  i just fear that this is too subtle for most people to notice

Dominik Csapak (3):
  api-types: make UploadStatistic an api type
  api: datastore: add upload_statistic to snapshot listing
  ui: datastore content: add action to show upload statistics

 pbs-api-types/src/datastore.rs | 41 +++++++++++++++++++++++++
 src/api2/admin/datastore.rs    | 22 ++++++++++---
 src/api2/backup/environment.rs | 35 +--------------------
 www/datastore/Content.js       | 56 ++++++++++++++++++++++++++++++++++
 4 files changed, 115 insertions(+), 39 deletions(-)

-- 
2.30.2






More information about the pbs-devel mailing list