3 implementations of GetInstrumentAsync
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
231public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) =>
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
52public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) => inner.GetInstrumentAsync(request, cancellationToken);
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\InMemoryTelemetryRepository.cs (1)
2522public async Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken)
36 references to GetInstrumentAsync
Aspire.Dashboard (2)
Components\Controls\Chart\ChartContainer.razor.cs (1)
305var refreshedInstrument = await TelemetryRepository.GetInstrumentAsync(new GetInstrumentRequest
Model\TelemetryExportService.cs (1)
201var instrumentData = await _dataSource.TelemetryRepository.GetInstrumentAsync(new GetInstrumentRequest
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
52public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) => inner.GetInstrumentAsync(request, cancellationToken);
Aspire.Dashboard.Tests (33)
Integration\OtlpHttpJsonTests.cs (1)
769var instrumentData = await telemetryRepository.GetInstrumentAsync(new GetInstrumentRequest
TelemetryRepositoryTests\MetricsTests.cs (32)
161var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 262var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 313var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 380var instrumentData = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 415var filteredInstrumentData = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 482var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 589var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 707var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 883var resource1Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 898var resource1Test2Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 928var resource2Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 943var resource2Test3Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1028var resource1Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1039var resource1Test2Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1068var resource2Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1083var resource2Test3Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1184var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1248var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1294var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1374var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1443var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1506var instrument1 = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1523var instrument2 = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1617var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1661var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1780var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1830var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1909var initialInstrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1944var refreshedInstrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2000var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2066return (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2121var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest