<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="10.0.3" />

System.Diagnostics.Metrics.ObservableGauge<T>

public sealed class ObservableGauge<T> : ObservableInstrument<T> where T : struct
Represents an observable instrument that reports non-additive values when the instrument is being observed, for example, the current room temperature. Call CreateObservableGauge to create the observable counter object.
namespace System.Diagnostics.Metrics { public sealed class ObservableGauge<T> : ObservableInstrument<T> where T : struct { } }