51 references to RecordObservableInstruments
Aspire.Confluent.Kafka.Tests (6)
Aspire8MetricsTests.cs (6)
74collectorConsumerQueueMessageCount.RecordObservableInstruments(); 75collectorProducerQueueMessageCount.RecordObservableInstruments(); 76collectorProducerQueueSize.RecordObservableInstruments(); 189collectorConsumerQueueMessageCount.RecordObservableInstruments(); 190collectorProducerQueueMessageCount.RecordObservableInstruments(); 191collectorProducerQueueSize.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (42)
Linux\Disk\LinuxSystemDiskMetricsTests.cs (17)
154diskIoCollector.RecordObservableInstruments(); 155operationCollector.RecordObservableInstruments(); 156ioTimeCollector.RecordObservableInstruments(); 178diskIoCollector.RecordObservableInstruments(); 179operationCollector.RecordObservableInstruments(); 180ioTimeCollector.RecordObservableInstruments(); 199diskIoCollector.RecordObservableInstruments(); 200operationCollector.RecordObservableInstruments(); 201ioTimeCollector.RecordObservableInstruments(); 248ioCollector.RecordObservableInstruments(); 252ioCollector.RecordObservableInstruments(); 258ioCollector.RecordObservableInstruments(); 267ioCollector.RecordObservableInstruments(); 275ioCollector.RecordObservableInstruments(); 305diskIoCollector.RecordObservableInstruments(); 306operationCollector.RecordObservableInstruments(); 307ioTimeCollector.RecordObservableInstruments();
Windows\Disk\WindowsDiskMetricsTests.cs (8)
84operationCollector.RecordObservableInstruments(); 94operationCollector.RecordObservableInstruments(); 103operationCollector.RecordObservableInstruments(); 112operationCollector.RecordObservableInstruments(); 158operationCollector.RecordObservableInstruments(); 168operationCollector.RecordObservableInstruments(); 177operationCollector.RecordObservableInstruments(); 186operationCollector.RecordObservableInstruments();
Windows\WindowsContainerSnapshotProviderTests.cs (10)
230metricCollector.RecordObservableInstruments(); 238metricCollector.RecordObservableInstruments(); 245metricCollector.RecordObservableInstruments(); 298metricCollector.RecordObservableInstruments(); 304metricCollector.RecordObservableInstruments(); 310metricCollector.RecordObservableInstruments(); 317metricCollector.RecordObservableInstruments(); 367metricCollector.RecordObservableInstruments(); 373metricCollector.RecordObservableInstruments(); 378metricCollector.RecordObservableInstruments();
Windows\WindowsSnapshotProviderTests.cs (7)
98metricCollector.RecordObservableInstruments(); 104metricCollector.RecordObservableInstruments(); 109metricCollector.RecordObservableInstruments(); 137metricCollector.RecordObservableInstruments(); 145metricCollector.RecordObservableInstruments(); 151metricCollector.RecordObservableInstruments(); 159metricCollector.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.Testing.Tests (3)
Metrics\MetricCollectorTests.cs (3)
209collector.RecordObservableInstruments(); 223collector.RecordObservableInstruments(); 364Assert.Throws<ObjectDisposedException>(() => collector.RecordObservableInstruments());