Figure out Garage metrics #30

Open
opened 2024-07-05 21:08:43 +00:00 by k900 · 6 comments
k900 commented 2024-07-05 21:08:43 +00:00 (Migrated from git.lix.systems)

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.
tom-hubrecht commented 2024-07-20 13:20:55 +00:00 (Migrated from git.lix.systems)

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
k900 commented 2024-07-20 15:18:24 +00:00 (Migrated from git.lix.systems)

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 :(
delroth commented 2024-07-20 18:53:45 +00:00 (Migrated from git.lix.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.

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.
tom-hubrecht commented 2024-07-20 19:06:17 +00:00 (Migrated from git.lix.systems)

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
kfearsoff commented 2024-09-28 15:44:41 +00:00 (Migrated from git.lix.systems)

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
raito commented 2025-08-24 00:32:54 +00:00 (Migrated from git.lix.systems)

I did the rewrite, but the original code has no license. I will ping the author and demand a license, in the meantime, we can go ahead without delroth necessarily because c.f.o. is being phased out.

I did the rewrite, but the original code has no license. I will ping the author and demand a license, in the meantime, we can go ahead without delroth necessarily because c.f.o. is being phased out.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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: afnix/infra#30
No description provided.