Figure out Garage metrics #30

Open
opened 2024-07-05 21:08:43 +00:00 by k900 · 5 comments
Owner

Garage itself has a few metrics, but not the interesting ones like disk space growth over time. We should figure out how to collect those without grinding everything to a halt.

Garage itself has a few metrics, but not the interesting ones like disk space growth over time. We should figure out how to collect those without grinding everything to a halt.
Owner

https://gitlab.com/codingJWilliams/garagehq-stats-exporter exists and has more information than the basic endpoint

https://gitlab.com/codingJWilliams/garagehq-stats-exporter exists and has more information than the basic endpoint
Author
Owner

Was mentioned on Matrix, but good to have a record here. Also, requires admin access :(

Was mentioned on Matrix, but good to have a record here. Also, requires admin access :(
Owner

Unlikely to happen until S3 is migrated off of my private infra. I could possibly be convinced to add an exporter if it can be restricted to a given set of buckets, and if it's not too much work to maintain on my systems.

Unlikely to happen until S3 is migrated off of my private infra. I could possibly be convinced to add an exporter if it can be restricted to a given set of buckets, and if it's not too much work to maintain on my systems.
Owner

Given that the exporter is 30 lines of straightforward python, I can rewrite it tomorrow to add a filter for exported buckets

Given that the exporter is 30 lines of straightforward python, I can rewrite it tomorrow to add a filter for exported buckets

Tracking issues in Garage repo:

https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/827
https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/420

Modifying the exporter is probably fastest here

Tracking issues in Garage repo: https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/827 https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/420 Modifying the exporter is probably fastest here
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#30
No description provided.