3 implementations of GetInstrumentSummaries
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
228public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key) => GetCachedInstrumentSummaries(key);
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
50public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key) => inner.GetInstrumentSummaries(key);
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\InMemoryTelemetryRepository.cs (1)
2480public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key)
25 references to GetInstrumentSummaries
Aspire.Dashboard (3)
Components\Pages\Metrics.razor.cs (2)
184viewModel.Instruments = selectedInstance != null ? TelemetryRepository.GetInstrumentSummaries(selectedInstance.Value) : null; 338var instruments = TelemetryRepository.GetInstrumentSummaries(selectedResourceKey.Value);
Model\TelemetryExportService.cs (1)
190var instrumentSummaries = _dataSource.TelemetryRepository.GetInstrumentSummaries(resource.ResourceKey);
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
50public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key) => inner.GetInstrumentSummaries(key);
Aspire.Dashboard.Tests (21)
Integration\OtlpHttpJsonTests.cs (2)
714var instruments = telemetryRepository.GetInstrumentSummaries(resource.ResourceKey); 765var instruments = telemetryRepository.GetInstrumentSummaries(resource.ResourceKey);
TelemetryRepositoryTests\MetricsTests.cs (11)
76var instruments = repositoryContext.Repository.GetInstrumentSummaries(resources[0].ResourceKey); 690var instruments = repositoryContext.Repository.GetInstrumentSummaries(resourceKey); 800var resource1Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource1Key); 804var resource2Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource2Key); 875var resource1Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource1Key); 910var resource2Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource2Key); 1025var resource1Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource1Key); 1051var resource2Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource2Key); 1132var resource1Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource1Key); 1574var instruments = repositoryContext.Repository.GetInstrumentSummaries(resources[0].ResourceKey); 2401Assert.Single(repositoryContext.Repository.GetInstrumentSummaries(CreateResource().GetResourceKey()));
TelemetryRepositoryTests\TelemetryLimitTests.cs (2)
157var instruments = repositoryContext.Repository.GetInstrumentSummaries(resources[0].ResourceKey); 181instruments = repositoryContext.Repository.GetInstrumentSummaries(resources[0].ResourceKey);
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (6)
56Assert.NotEmpty(repositoryContext.Repository.GetInstrumentSummaries(resource.ResourceKey)); 240var resource1Metrics = repositoryContext.Repository.GetInstrumentSummaries(new ResourceKey("resource1", "123")); 252var resource2Metrics = repositoryContext.Repository.GetInstrumentSummaries(new ResourceKey("resource2", "456")); 283var resource1Metrics = repositoryContext.Repository.GetInstrumentSummaries(new ResourceKey("resource1", "111")); 286var resource3Metrics = repositoryContext.Repository.GetInstrumentSummaries(new ResourceKey("resource3", "333")); 355var metrics = repositoryContext.Repository.GetInstrumentSummaries(new ResourceKey("resource1", "123"));