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)
258listener.RecordObservableInstruments(); 274listener.RecordObservableInstruments(); 363listener.RecordObservableInstruments(); 380listener.RecordObservableInstruments(); 461listener.RecordObservableInstruments(); 469listener.RecordObservableInstruments();
Linux\LinuxCountersTests.cs (1)
110listener.RecordObservableInstruments();
Linux\LinuxUtilizationProviderTests.cs (8)
85listener.RecordObservableInstruments(); 162listener.RecordObservableInstruments(); 283listener.RecordObservableInstruments(); 358listener.RecordObservableInstruments(); 362listener.RecordObservableInstruments(); 366listener.RecordObservableInstruments(); 427Assert.Throws<AggregateException>(() => listener.RecordObservableInstruments()); 432listener.RecordObservableInstruments();
Windows\WindowsCountersTests.cs (2)
57listener.RecordObservableInstruments(); 101listener.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.Testing (1)
Metrics\MetricCollector.cs (1)
267_meterListener.RecordObservableInstruments();
System.Diagnostics.DiagnosticSource (19)
System\Diagnostics\Metrics\AggregationManager.cs (1)
503_listener.RecordObservableInstruments();
System\Diagnostics\Metrics\Meter.cs (18)
257/// <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> 270/// <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> 285/// <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> 298/// <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> 312/// <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> 325/// <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> 339/// <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> 352/// <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> 366/// <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> 379/// <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> 394/// <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> 407/// <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> 421/// <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> 431/// <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> 442/// <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> 452/// <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> 463/// <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> 473/// <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>