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 GC committed bytes to known counters #2139

Merged

Conversation

sywhang
Copy link
Contributor

@sywhang sywhang commented Apr 2, 2021

Corresponding runtime PR: dotnet/runtime#50604

@sywhang sywhang requested a review from a team as a code owner April 2, 2021 20:24
@sywhang sywhang merged commit c448a67 into dotnet:main Apr 2, 2021
@sywhang sywhang deleted the dev/suwhang/dotnet-counters-gc-committed branch April 2, 2021 21:20
@davidfowl
Copy link
Member

Can we make this counter MB instead of B to align with the heap size counter?

@sywhang
Copy link
Contributor Author

sywhang commented Apr 9, 2021

@davidfowl we could, but in general the GC counters are a little all over the place (some are in MB, some are in B). It might make more sense to make everything in B.

@noahfalk
Copy link
Member

noahfalk commented Apr 9, 2021

For things we already shipped in .NET 5 I don't think we should change them or it could break people's monitoring rules. Things added during .NET 6 we can still change and we should try to be more consistent going forward.

@davidfowl
Copy link
Member

Lets make it MB then its weird seeing 19MB for GC heap and 45,000,000 B for committed GC bytes

@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants