80 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.Kubernetes.Tests (16)
Linux\AcceptanceTest.cs (8)
115containerCpuLimitMetricCollector.RecordObservableInstruments(); 116containerMemoryLimitMetricCollector.RecordObservableInstruments(); 117containerCpuRequestMetricCollector.RecordObservableInstruments(); 118containerMemoryRequestMetricCollector.RecordObservableInstruments(); 135containerCpuLimitMetricCollector.RecordObservableInstruments(); 136containerMemoryLimitMetricCollector.RecordObservableInstruments(); 137containerCpuRequestMetricCollector.RecordObservableInstruments(); 138containerMemoryRequestMetricCollector.RecordObservableInstruments();
Windows\AcceptanceTest.cs (8)
138containerCpuLimitMetricCollector.RecordObservableInstruments(); 139containerMemoryLimitMetricCollector.RecordObservableInstruments(); 140containerCpuRequestMetricCollector.RecordObservableInstruments(); 141containerMemoryRequestMetricCollector.RecordObservableInstruments(); 161containerCpuLimitMetricCollector.RecordObservableInstruments(); 162containerMemoryLimitMetricCollector.RecordObservableInstruments(); 163containerCpuRequestMetricCollector.RecordObservableInstruments(); 164containerMemoryRequestMetricCollector.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (55)
Linux\Disk\LinuxSystemDiskMetricsTests.cs (17)
158diskIoCollector.RecordObservableInstruments(); 159operationCollector.RecordObservableInstruments(); 160ioTimeCollector.RecordObservableInstruments(); 182diskIoCollector.RecordObservableInstruments(); 183operationCollector.RecordObservableInstruments(); 184ioTimeCollector.RecordObservableInstruments(); 203diskIoCollector.RecordObservableInstruments(); 204operationCollector.RecordObservableInstruments(); 205ioTimeCollector.RecordObservableInstruments(); 252ioCollector.RecordObservableInstruments(); 256ioCollector.RecordObservableInstruments(); 262ioCollector.RecordObservableInstruments(); 271ioCollector.RecordObservableInstruments(); 279ioCollector.RecordObservableInstruments(); 309diskIoCollector.RecordObservableInstruments(); 310operationCollector.RecordObservableInstruments(); 311ioTimeCollector.RecordObservableInstruments();
Windows\Disk\WindowsDiskMetricsTests.cs (8)
88operationCollector.RecordObservableInstruments(); 98operationCollector.RecordObservableInstruments(); 107operationCollector.RecordObservableInstruments(); 116operationCollector.RecordObservableInstruments(); 162operationCollector.RecordObservableInstruments(); 172operationCollector.RecordObservableInstruments(); 181operationCollector.RecordObservableInstruments(); 190operationCollector.RecordObservableInstruments();
Windows\WindowsContainerSnapshotProviderTests.cs (23)
233metricCollector.RecordObservableInstruments(); 241metricCollector.RecordObservableInstruments(); 248metricCollector.RecordObservableInstruments(); 304metricCollector.RecordObservableInstruments(); 310metricCollector.RecordObservableInstruments(); 316metricCollector.RecordObservableInstruments(); 323metricCollector.RecordObservableInstruments(); 381metricCollector.RecordObservableInstruments(); 387metricCollector.RecordObservableInstruments(); 392metricCollector.RecordObservableInstruments(); 444processMetricCollector.RecordObservableInstruments(); 445containerLimitMetricCollector.RecordObservableInstruments(); 446containerUsageMetricCollector.RecordObservableInstruments(); 459processMetricCollector.RecordObservableInstruments(); 460containerUsageMetricCollector.RecordObservableInstruments(); 461containerLimitMetricCollector.RecordObservableInstruments(); 471processMetricCollector.RecordObservableInstruments(); 472containerLimitMetricCollector.RecordObservableInstruments(); 473containerUsageMetricCollector.RecordObservableInstruments(); 536metricCollector.RecordObservableInstruments(); 542metricCollector.RecordObservableInstruments(); 547metricCollector.RecordObservableInstruments(); 552metricCollector.RecordObservableInstruments();
Windows\WindowsSnapshotProviderTests.cs (7)
100metricCollector.RecordObservableInstruments(); 106metricCollector.RecordObservableInstruments(); 111metricCollector.RecordObservableInstruments(); 139metricCollector.RecordObservableInstruments(); 147metricCollector.RecordObservableInstruments(); 153metricCollector.RecordObservableInstruments(); 161metricCollector.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.Testing.Tests (3)
Metrics\MetricCollectorTests.cs (3)
209collector.RecordObservableInstruments(); 223collector.RecordObservableInstruments(); 364Assert.Throws<ObjectDisposedException>(() => collector.RecordObservableInstruments());