Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global statistics are not available #12

Open
ngosang opened this issue Jan 2, 2022 · 3 comments
Open

Global statistics are not available #12

ngosang opened this issue Jan 2, 2022 · 3 comments

Comments

@ngosang
Copy link

ngosang commented Jan 2, 2022

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

@YWatchman
Copy link

there is. urbackup_api.get_usage()

@ngosang
Copy link
Author

ngosang commented Jul 27, 2022

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

@YWatchman
Copy link

I think we can close this issue then @uroni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants