System.Diagnostics.Metrics.ObservableUpDownCounter<T>
A metrics-observable instrument that reports increasing or decreasing values when the instrument is being observed.
Use this instrument to monitor the process heap size or the approximate number of items in a lock-free circular buffer, for example.
To create an ObservableUpDownCounter object, use the CreateObservableUpDownCounter methods.
namespace System.Diagnostics.Metrics
{
public sealed class ObservableUpDownCounter<T> : ObservableInstrument<T> where T : struct
{
}
}