2 implementations of GetInstrumentSummaries
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
266
public List<OtlpInstrumentSummary>
GetInstrumentSummaries
(ResourceKey key) => GetCachedInstrumentSummaries(key);
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
66
public List<OtlpInstrumentSummary>
GetInstrumentSummaries
(ResourceKey key) => inner.GetInstrumentSummaries(key);
33 references to GetInstrumentSummaries
Aspire.Dashboard (8)
Components\Controls\ApplicationSummary.razor.cs (1)
331
foreach (var instrument in repository.
GetInstrumentSummaries
(resource.ResourceKey))
Components\Legacy\Pages\Metrics.razor.cs (2)
186
viewModel.Instruments = selectedInstance != null ? TelemetryRepository.
GetInstrumentSummaries
(selectedInstance.Value) : null;
345
var instruments = TelemetryRepository.
GetInstrumentSummaries
(selectedResourceKey.Value);
Components\Pages\Metrics.razor.cs (3)
359
viewModel.Instruments = selectedInstance != null ? TelemetryRepository.
GetInstrumentSummaries
(selectedInstance.Value) : null;
370
[.. (_aggregateResources ?? []).SelectMany(resource => TelemetryRepository.
GetInstrumentSummaries
(resource.ResourceKey))];
917
? TelemetryRepository.
GetInstrumentSummaries
(selectedResourceKey.Value)
Components\Pages\ResourceOverview.razor.cs (1)
351
var instruments = repository.
GetInstrumentSummaries
(key)
Model\TelemetryExportService.cs (1)
190
var instrumentSummaries = _dataSource.TelemetryRepository.
GetInstrumentSummaries
(resource.ResourceKey);
Aspire.Dashboard.Components.Tests (3)
Pages\MetricsTests.cs (2)
1608
var instruments = repository.
GetInstrumentSummaries
(resource.ResourceKey);
1677
builder.Add(c => c.Instruments, repository.
GetInstrumentSummaries
(resource.ResourceKey));
Shared\TestTelemetryRepository.cs (1)
66
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)
467
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resources[0].ResourceKey);
1060
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resourceKey);
1170
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
1174
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
1245
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
1280
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
1395
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
1421
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
1502
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
1557
repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("TestService", "TestId")),
1993
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resources[0].ResourceKey);
3223
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)
58
Assert.NotEmpty(repositoryContext.Repository.
GetInstrumentSummaries
(resource.ResourceKey));
242
var resource1Metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource1", "123"));
254
var resource2Metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource2", "456"));
285
var resource1Metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource1", "111"));
288
var resource3Metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource3", "333"));
357
var metrics = repositoryContext.Repository.
GetInstrumentSummaries
(new ResourceKey("resource1", "123"));