opentelemetry_semantic_conventions::metric

Constant DOTNET_GC_COLLECTIONS

Source
pub const DOTNET_GC_COLLECTIONS: &str = "dotnet.gc.collections";
Expand description

§Description

The number of garbage collections that have occurred since the process has started.

§Notes

Meter name: System.Runtime; Added in: .NET 9.0. This metric uses the GC.CollectionCount(int generation) API to calculate exclusive collections per generation

§Metadata

Instrument:counter
Unit:{collection}
Status:Experimental

§Attributes