# System.Diagnostics.Metrics

``` diff
 namespace System.Diagnostics.Metrics {
-    public sealed class InstrumentRecorder<T> : IDisposable where T : struct {
-        public InstrumentRecorder(Instrument instrument);
-        public InstrumentRecorder(Meter meter, string instrumentName);
-        public InstrumentRecorder(object? scopeFilter, string meterName, string instrumentName);
-        public Instrument? Instrument { get; }
-        public void Dispose();
-        public IEnumerable<Measurement<T>> GetMeasurements(bool clear = false);
-    }
 }
```

