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(); 166listener.RecordObservableInstruments(); 286listener.RecordObservableInstruments(); 363listener.RecordObservableInstruments(); 367listener.RecordObservableInstruments(); 371listener.RecordObservableInstruments(); 432Assert.Throws<AggregateException>(() => listener.RecordObservableInstruments()); 437listener.RecordObservableInstruments(); 506listener.RecordObservableInstruments(); 583listener.RecordObservableInstruments(); 652listener.RecordObservableInstruments(); 662listener.RecordObservableInstruments(); 725listener.RecordObservableInstruments(); 735listener.RecordObservableInstruments();
Windows\WindowsCountersTests.cs (2)
57listener.RecordObservableInstruments(); 102listener.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)
258/// <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> 271/// <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> 286/// <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> 299/// <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> 313/// <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> 326/// <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> 340/// <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> 353/// <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> 367/// <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> 380/// <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> 395/// <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> 408/// <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> 422/// <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> 432/// <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> 443/// <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> 453/// <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> 464/// <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> 474/// <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>