2 implementations of GetInstrumentSummaries
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
264
public List<OtlpInstrumentSummary>
GetInstrumentSummaries
(ResourceKey key) => GetCachedInstrumentSummaries(key);
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
51
public List<OtlpInstrumentSummary>
GetInstrumentSummaries
(ResourceKey key) => inner.GetInstrumentSummaries(key);
26 references to GetInstrumentSummaries
Aspire.Dashboard (3)
Components\Pages\Metrics.razor.cs (2)
186
viewModel.Instruments = selectedInstance != null ? TelemetryRepository.
GetInstrumentSummaries
(selectedInstance.Value) : null;
340
var instruments = TelemetryRepository.
GetInstrumentSummaries
(selectedResourceKey.Value);
Model\TelemetryExportService.cs (1)
190
var instrumentSummaries = _dataSource.TelemetryRepository.
GetInstrumentSummaries
(resource.ResourceKey);
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
51
public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key) => inner.
GetInstrumentSummaries
(key);
Aspire.Dashboard.Tests (22)
Integration\OtlpHttpJsonTests.cs (2)
714
var instruments = telemetryRepository.
GetInstrumentSummaries
(resource.ResourceKey);
765
var instruments = telemetryRepository.
GetInstrumentSummaries
(resource.ResourceKey);
TelemetryRepositoryTests\MetricsTests.cs (12)
73
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resources[0].ResourceKey);
666
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resourceKey);
776
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
780
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
851
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
886
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
1001
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
1027
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
1108
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
1163
repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("TestService", "TestId")),
1599
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resources[0].ResourceKey);
2829
Assert.Single(repositoryContext.Repository.
GetInstrumentSummaries
(CreateResource().GetResourceKey()));
TelemetryRepositoryTests\TelemetryLimitTests.cs (2)
157
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resources[0].ResourceKey);
181
instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resources[0].ResourceKey);
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (6)
56
Assert.NotEmpty(repositoryContext.Repository.
GetInstrumentSummaries
(resource.ResourceKey));
240
var resource1Metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource1", "123"));
252
var resource2Metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource2", "456"));
283
var resource1Metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource1", "111"));
286
var resource3Metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource3", "333"));
355
var metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource1", "123"));