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

Add CPU count in metrics #253

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Conversation

anjalshireesh
Copy link
Contributor

so that it can be used by the resource metrics collector to calculate "percentage" load (load * 100 / cpu-count)

so that it can be used by the resource metrics collector to calculate
"percentage" load (load * 100 / cpu-count)
metrics.go Outdated Show resolved Hide resolved
@cesnietor
Copy link
Contributor

is that all we need? lol, is will this value be already normalized based on the number of cores and such?

@cesnietor
Copy link
Contributor

is that all we need? lol, is will this value be already normalized based on the number of cores and such?

ah I just saw the other pr in minio minio/minio#18596

@harshavardhana harshavardhana merged commit 9ef2480 into minio:main Dec 5, 2023
5 checks passed
@anjalshireesh anjalshireesh deleted the resource-metrics branch December 6, 2023 03:42
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