urbackup-server-python-web-api-wrapper icon indicating copy to clipboard operation
urbackup-server-python-web-api-wrapper copied to clipboard

Global statistics are not available

Open ngosang opened this issue 3 years ago • 3 comments

This is my Prometheus exporter => https://github.com/ngosang/urbackup-exporter

I need to calculate the total size on disk for each client. Currently I'm summing the size of each backup but that is incorrect because deleted backups are not counted. image

I would like to have access to global statistics from the Python API to fix this issue: image

ngosang avatar Jan 02 '22 12:01 ngosang

there is. urbackup_api.get_usage()

YWatchman avatar Jul 01 '22 10:07 YWatchman

I'm not using urbackup anymore but there are people using my exporter. I hope someone else can maintain it and fix this issue => https://github.com/ngosang/urbackup-exporter/issues/2

ngosang avatar Jul 27 '22 18:07 ngosang

I think we can close this issue then @uroni

YWatchman avatar Dec 21 '22 20:12 YWatchman