23 references to RecordObservableInstruments
Aspire.Confluent.Kafka.Tests (6)
MetricsTests.cs (6)
75collectorConsumerQueueMessageCount.RecordObservableInstruments(); 76collectorProducerQueueMessageCount.RecordObservableInstruments(); 77collectorProducerQueueSize.RecordObservableInstruments(); 192collectorConsumerQueueMessageCount.RecordObservableInstruments(); 193collectorProducerQueueMessageCount.RecordObservableInstruments(); 194collectorProducerQueueSize.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (14)
Windows\WindowsContainerSnapshotProviderTests.cs (7)
232metricCollector.RecordObservableInstruments(); 238metricCollector.RecordObservableInstruments(); 244metricCollector.RecordObservableInstruments(); 251metricCollector.RecordObservableInstruments(); 295metricCollector.RecordObservableInstruments(); 301metricCollector.RecordObservableInstruments(); 306metricCollector.RecordObservableInstruments();
Windows\WindowsSnapshotProviderTests.cs (7)
92metricCollector.RecordObservableInstruments(); 98metricCollector.RecordObservableInstruments(); 103metricCollector.RecordObservableInstruments(); 125metricCollector.RecordObservableInstruments(); 133metricCollector.RecordObservableInstruments(); 139metricCollector.RecordObservableInstruments(); 147metricCollector.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.Testing.Tests (3)
Metrics\MetricCollectorTests.cs (3)
209collector.RecordObservableInstruments(); 223collector.RecordObservableInstruments(); 364Assert.Throws<ObjectDisposedException>(() => collector.RecordObservableInstruments());