Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Tenant Tiers Usage in Status #1065

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

dvaldivia
Copy link
Collaborator

This PR adds the report of the tiers usage from MinIO to the .status.usage.tiers field. This is to more accurately report the usage by the tenant.

Example:

status:
  usage:
    capacity: 7463196033024
    rawCapacity: 1099511627776
    rawUsage: 3107523919872
    tiers:
    - Name: STANDARD
      Type: internal
      totalSize: 58249152
    - Name: MINIO_TIER_1
      Type: s3
      totalSize: 149606428
    usage: 149606428

Signed-off-by: Daniel Valdivia 18384552+dvaldivia@users.noreply.github.com

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
@dvaldivia dvaldivia merged commit ed1ac53 into minio:master Mar 25, 2022
@dvaldivia dvaldivia deleted the report-tiers-usage-status branch March 25, 2022 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants