<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="10.0.0-rc.1.25451.107" />

System.Diagnostics.Metrics.Measurement<T>

public struct Measurement<T> where T : struct
Stores one observed metrics value and its associated tags. This type is used by an Observable instrument's Observe() method when reporting current measurements.
namespace System.Diagnostics.Metrics { public readonly struct Measurement<T> where T : struct { public ReadOnlySpan<KeyValuePair<string, object>> Tags { get; } public T Value { get; } public Measurement(T value); public Measurement(T value, IEnumerable<KeyValuePair<string, object>> tags); public Measurement(T value, params KeyValuePair<string, object>[] tags); public Measurement(T value, ReadOnlySpan<KeyValuePair<string, object>> tags); public Measurement(T value, ref TagList tags); } }