opentelemetry_semantic_conventions::metric

Constant DOTNET_GC_HEAP_TOTAL_ALLOCATED

Source
pub const DOTNET_GC_HEAP_TOTAL_ALLOCATED: &str = "dotnet.gc.heap.total_allocated";
Expand description

§Description

The approximate number of bytes allocated on the managed GC heap since the process has started. The returned value does not include any native allocations.

§Notes

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

§Metadata

Instrument:counter
Unit:By
Status:Experimental