46 references to RecordObservableInstruments
Microsoft.Extensions.Diagnostics (1)
Metrics\ListenerSubscription.cs (1)
285public void RecordObservableInstruments() => _meterListener.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (1)
ResourceUtilizationHealthCheck.cs (1)
165_meterListener!.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests (1)
Linux\LinuxResourceHealthCheckTests.cs (1)
220listener.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (23)
Linux\AcceptanceTest.cs (6)
264listener.RecordObservableInstruments(); 280listener.RecordObservableInstruments(); 369listener.RecordObservableInstruments(); 386listener.RecordObservableInstruments(); 467listener.RecordObservableInstruments(); 475listener.RecordObservableInstruments();
Linux\LinuxCountersTests.cs (1)
110listener.RecordObservableInstruments();
Linux\LinuxUtilizationProviderTests.cs (14)
88listener.RecordObservableInstruments(); 164listener.RecordObservableInstruments(); 284listener.RecordObservableInstruments(); 359listener.RecordObservableInstruments(); 363listener.RecordObservableInstruments(); 367listener.RecordObservableInstruments(); 428Assert.Throws<AggregateException>(() => listener.RecordObservableInstruments()); 433listener.RecordObservableInstruments(); 502listener.RecordObservableInstruments(); 579listener.RecordObservableInstruments(); 648listener.RecordObservableInstruments(); 658listener.RecordObservableInstruments(); 721listener.RecordObservableInstruments(); 731listener.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>