Azure / acr

Azure Container Registry samples, troubleshooting tips and references
https://aka.ms/acr
Other
164 stars 112 forks source link

Show used storage space per repository #446

Open RabbitSharp opened 4 years ago

RabbitSharp commented 4 years ago

What is the problem you're trying to solve I want to clean up my container registry and find out which repositories use the most storage space so that I can delete the manifests with the highest memory consumption.

Describe the solution you'd like I would like to be able to see the size of the repository in the repository overview and/or in the respective detailed views and/or with the az acr show-usage command.

Additional context Maybe something like this from the GCP image

or from amazons ecr image

mangalorereshmi commented 4 years ago

Hi @RabbitSharp - Thank you for your feedback. We are looking into displaying ACR's usage metrics (Storage and API ops) via the Azure Metrics blade. The latest on this feature can be found here: https://github.com/Azure/acr/issues/448.

Thanks, Reshmi Mangalore

mangalorereshmi commented 4 years ago

Closing this request as we are tracking it using ACR's Metrics and alerts enhancement feature https://github.com/Azure/acr/issues/448.

BenH-Puregym commented 2 years ago

I'm not sure why you closed this, the request was to get metrics on the storage usage per repo. The link you've sent is just a feature asking for the usage of the whole reg and doesn't seem to be available still. When will this metric be available?

ktumu0225 commented 2 years ago

We have a use case as well to determine storage size by repository/namespace.

krsche commented 2 years ago

@mangalorereshmi Please reopen this as it was stated that it is not planned in #448 as stated by @Wwwsylvia

Alternatively #169 could also get re-opened as suggested by @StingyJack

daseth commented 1 year ago

Please re-open this.

Tiana125 commented 8 months ago

Please re-open this as there is currently no way of calculating the actual disk space that each repository uses. All we users have access to is the sum of all manifests in a repository and that is not the actual disk space.

terencet-dev commented 7 months ago

Reopening this issue

asus4you commented 2 months ago

is there any update on this? is there a way to check the amount space an ACR is occupying or consuming?