3 implementations of GetInstrumentSummaries
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
228
public List<OtlpInstrumentSummary>
GetInstrumentSummaries
(ResourceKey key) => GetCachedInstrumentSummaries(key);
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
50
public List<OtlpInstrumentSummary>
GetInstrumentSummaries
(ResourceKey key) => inner.GetInstrumentSummaries(key);
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\InMemoryTelemetryRepository.cs (1)
2480
public List<OtlpInstrumentSummary>
GetInstrumentSummaries
(ResourceKey key)
25 references to GetInstrumentSummaries
Aspire.Dashboard (3)
Components\Pages\Metrics.razor.cs (2)
184
viewModel.Instruments = selectedInstance != null ? TelemetryRepository.
GetInstrumentSummaries
(selectedInstance.Value) : null;
338
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)
50
public List<OtlpInstrumentSummary> GetInstrumentSummaries(ResourceKey key) => inner.
GetInstrumentSummaries
(key);
Aspire.Dashboard.Tests (21)
Integration\OtlpHttpJsonTests.cs (2)
714
var instruments = telemetryRepository.
GetInstrumentSummaries
(resource.ResourceKey);
765
var instruments = telemetryRepository.
GetInstrumentSummaries
(resource.ResourceKey);
TelemetryRepositoryTests\MetricsTests.cs (11)
76
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resources[0].ResourceKey);
690
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resourceKey);
800
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
804
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
875
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
910
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
1025
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
1051
var resource2Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource2Key);
1132
var resource1Instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resource1Key);
1574
var instruments = repositoryContext.Repository.
GetInstrumentSummaries
(resources[0].ResourceKey);
2401
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"));