expose bucket usage metrics #420
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#420
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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