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

Adding back Usable Capacity and Internal #1788

Merged

Conversation

cniackz
Copy link
Contributor

@cniackz cniackz commented Sep 23, 2023

Objective:

To give values to Usable Capacity and Internal in the UI by populating back our Status in the Tenant as suggested by Harsha: adminClnt.StorageInfo(srvInfoCtx)

image

Reasoning:

Back in Remove Log Search API and Prometheus PR we removed metrics hence leaving these fields unpopulated breaking the feature. For legacy Tenants, numbers will remain constant and for new tenants it will be n/a but with this change we can get those number back from our internal minio client.

Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment

pkg/controller/monitoring.go Show resolved Hide resolved
@cniackz
Copy link
Contributor Author

cniackz commented Sep 26, 2023

Thank you for the reviews and approvals. I have no power to squash and merge the PR. If you find this good enough, please help me to merge when you can 👍

@cniackz cniackz merged commit 1b88332 into minio:master Oct 5, 2023
24 checks passed
@cniackz cniackz deleted the add-back-usable-capacity-and-internal-1 branch October 5, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants