38 references to RecordObservableInstruments
Microsoft.Extensions.Diagnostics (1)
Metrics\ListenerSubscription.cs (1)
285public void RecordObservableInstruments() => _meterListener.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (17)
Linux\AcceptanceTest.cs (6)
255listener.RecordObservableInstruments(); 271listener.RecordObservableInstruments(); 359listener.RecordObservableInstruments(); 376listener.RecordObservableInstruments(); 457listener.RecordObservableInstruments(); 465listener.RecordObservableInstruments();
Linux\LinuxCountersTests.cs (1)
110listener.RecordObservableInstruments();
Linux\LinuxUtilizationProviderTests.cs (8)
84listener.RecordObservableInstruments(); 156listener.RecordObservableInstruments(); 271listener.RecordObservableInstruments(); 342listener.RecordObservableInstruments(); 346listener.RecordObservableInstruments(); 350listener.RecordObservableInstruments(); 409Assert.Throws<AggregateException>(() => listener.RecordObservableInstruments()); 413listener.RecordObservableInstruments();
Windows\WindowsCountersTests.cs (2)
57listener.RecordObservableInstruments(); 101listener.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.Testing (1)
Metrics\MetricCollector.cs (1)
269_meterListener.RecordObservableInstruments();
System.Diagnostics.DiagnosticSource (19)
System\Diagnostics\Metrics\AggregationManager.cs (1)
503_listener.RecordObservableInstruments();
System\Diagnostics\Metrics\Meter.cs (18)
260/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 273/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 288/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" /></param> 301/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" /></param> 315/// <param name="observeValues">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 328/// <param name="observeValues">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 342/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 355/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 369/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" /></param> 382/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" /></param> 397/// <param name="observeValues">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 410/// <param name="observeValues">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 424/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 434/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 445/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 455/// <param name="observeValue">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 466/// <param name="observeValues">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param> 476/// <param name="observeValues">The callback to call to get the measurements when the <see cref="ObservableInstrument{t}.Observe()" /> is called by <see cref="MeterListener.RecordObservableInstruments" />.</param>