2 implementations of GetInstrumentSummaries
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
264public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key) => GetCachedInstrumentSummaries(key);
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
51public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key) => inner.GetInstrumentSummaries(key);
26 references to GetInstrumentSummaries
Aspire.Dashboard (3)
Components\Pages\Metrics.razor.cs (2)
186viewModel.Instruments = selectedInstance != null ? TelemetryRepository.GetInstrumentSummaries(selectedInstance.Value) : null; 340var 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)
51public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key) => inner.GetInstrumentSummaries(key);
Aspire.Dashboard.Tests (22)
Integration\OtlpHttpJsonTests.cs (2)
714var instruments = telemetryRepository.GetInstrumentSummaries(resource.ResourceKey); 765var instruments = telemetryRepository.GetInstrumentSummaries(resource.ResourceKey);
TelemetryRepositoryTests\MetricsTests.cs (12)
73var instruments = repositoryContext.Repository.GetInstrumentSummaries(resources[0].ResourceKey); 666var instruments = repositoryContext.Repository.GetInstrumentSummaries(resourceKey); 776var resource1Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource1Key); 780var resource2Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource2Key); 851var resource1Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource1Key); 886var resource2Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource2Key); 1001var resource1Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource1Key); 1027var resource2Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource2Key); 1108var resource1Instruments = repositoryContext.Repository.GetInstrumentSummaries(resource1Key); 1163repositoryContext.Repository.GetInstrumentSummaries(new ResourceKey("TestService", "TestId")), 1599var instruments = repositoryContext.Repository.GetInstrumentSummaries(resources[0].ResourceKey); 2829Assert.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"));