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

dotnet-counters gc.heap.generation output #4935

Open
WeihanLi opened this issue Sep 15, 2024 · 2 comments
Open

dotnet-counters gc.heap.generation output #4935

WeihanLi opened this issue Sep 15, 2024 · 2 comments
Labels
dotnet-counters enhancement New feature or request
Milestone

Comments

@WeihanLi
Copy link
Contributor

WeihanLi commented Sep 15, 2024

gc.heap.generation output for now

image

@tommcdon tommcdon changed the title dotnet-monitor unexpected gc heap generation output dotnet-counters unexpected gc heap generation output Sep 17, 2024
@tommcdon tommcdon added the enhancement New feature or request label Sep 17, 2024
@tommcdon tommcdon added this to the 10.0.0 milestone Sep 17, 2024
@tommcdon tommcdon changed the title dotnet-counters unexpected gc heap generation output dotnet-counters unexpected gc.heap.generation output Sep 17, 2024
@tommcdon
Copy link
Member

The output is expected and is part of the new meters design. The "gc.heap.generation" section is column header. Marking as "enhancement" to track improving the dotnet-counters output to make it more intuitive. Also we should update our documentation - https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-counters#examples-1.

@WeihanLi
Copy link
Contributor Author

WeihanLi commented Sep 18, 2024

Yeah, from the document https://learn.microsoft.com/en-us/dotnet/core/diagnostics/built-in-metrics-runtime#metric-dotnetgclast_collectionheapsize, the value should be one of the gen0;gen1;gen2;loh;poh

image

The gc.heap.generation is a little confused for me

@WeihanLi WeihanLi changed the title dotnet-counters unexpected gc.heap.generation output dotnet-counters gc.heap.generation output Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-counters enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants