Const
The number of garbage collections that have occurred since the process has started.
Meter name: System.Runtime; Added in: .NET 9.0. This metric uses the GC.CollectionCount(int generation) API to calculate exclusive collections per generation.
System.Runtime
GC.CollectionCount(int generation)
The number of garbage collections that have occurred since the process has started.