diagnostics icon indicating copy to clipboard operation
diagnostics copied to clipboard

dotnet-counters `gc.heap.generation` output

Open WeihanLi opened this issue 1 year ago • 2 comments

gc.heap.generation output for now

image

WeihanLi avatar Sep 15 '24 03:09 WeihanLi

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.

tommcdon avatar Sep 17 '24 20:09 tommcdon

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 avatar Sep 18 '24 00:09 WeihanLi