expose bucket usage metrics #420
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#420
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice to expose per-bucket metrics displaying the current usage (and if a quota is set, the quota of the bucket).
This would allow administrators to have an overview and be able to also see if certain buckets (and their usages) goes astray.
Additionally exposing the usage of multipart uploads would also be useful to identify permanent stuck multipart uploads and act accordingly.
As per the discussion in the chat, with this feature we need to be aware, that the cardinality of the metrics can explode, when there are thousands of buckets create. So it would most likely make sense, to have this hidden behind some sort of "feature flag"
Hi,
For anyone else who comes across this problem, I've written an exporter in Python to solve this problem, it can be found here: https://gitlab.com/codingJWilliams/garagehq-stats-exporter
I would have implemented it directly but I'm not familiar with Rust unfortunately, so had to use this as a workaround
Jay