Constant DOTNET_GC_LAST_COLLECTION_HEAP_SIZE

Source
pub const DOTNET_GC_LAST_COLLECTION_HEAP_SIZE: &str = "dotnet.gc.last_collection.heap.size";
Expand description

§Description

The managed GC heap size (including fragmentation), as observed during the latest garbage collection.

§Notes

Meter name: System.Runtime; Added in: .NET 9.0. This metric reports the same values as calling GC.GetGCMemoryInfo().GenerationInfo.SizeAfterBytes

§Metadata

Instrument:updowncounter
Unit:By
Status:Stable

§Attributes