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)
232metricCollector.RecordObservableInstruments(); 240metricCollector.RecordObservableInstruments(); 247metricCollector.RecordObservableInstruments(); 303metricCollector.RecordObservableInstruments(); 309metricCollector.RecordObservableInstruments(); 315metricCollector.RecordObservableInstruments(); 322metricCollector.RecordObservableInstruments(); 380metricCollector.RecordObservableInstruments(); 386metricCollector.RecordObservableInstruments(); 391metricCollector.RecordObservableInstruments(); 443processMetricCollector.RecordObservableInstruments(); 444containerLimitMetricCollector.RecordObservableInstruments(); 445containerUsageMetricCollector.RecordObservableInstruments(); 458processMetricCollector.RecordObservableInstruments(); 459containerUsageMetricCollector.RecordObservableInstruments(); 460containerLimitMetricCollector.RecordObservableInstruments(); 470processMetricCollector.RecordObservableInstruments(); 471containerLimitMetricCollector.RecordObservableInstruments(); 472containerUsageMetricCollector.RecordObservableInstruments(); 535metricCollector.RecordObservableInstruments(); 541metricCollector.RecordObservableInstruments(); 546metricCollector.RecordObservableInstruments(); 551metricCollector.RecordObservableInstruments();
Windows\WindowsSnapshotProviderTests.cs (7)
99metricCollector.RecordObservableInstruments(); 105metricCollector.RecordObservableInstruments(); 110metricCollector.RecordObservableInstruments(); 138metricCollector.RecordObservableInstruments(); 146metricCollector.RecordObservableInstruments(); 152metricCollector.RecordObservableInstruments(); 160metricCollector.RecordObservableInstruments();
Microsoft.Extensions.Diagnostics.Testing.Tests (3)
Metrics\MetricCollectorTests.cs (3)
209collector.RecordObservableInstruments(); 223collector.RecordObservableInstruments(); 364Assert.Throws<ObjectDisposedException>(() => collector.RecordObservableInstruments());