2 implementations of GetInstrumentAsync
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
269public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) =>
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
68public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) => inner.GetInstrumentAsync(request, cancellationToken);
51 references to GetInstrumentAsync
Aspire.Dashboard (3)
Components\Controls\Chart\ChartContainer.razor.cs (1)
377var refreshedInstrument = await TelemetryRepository.GetInstrumentAsync(new GetInstrumentRequest
Components\Controls\Chart\LiveSparklinesBase.cs (1)
276var data = 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)
68public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) => inner.GetInstrumentAsync(request, cancellationToken);
Aspire.Dashboard.Tests (47)
Integration\OtlpHttpJsonTests.cs (1)
769var instrumentData = await telemetryRepository.GetInstrumentAsync(new GetInstrumentRequest
TelemetryRepositoryTests\HistogramTests.cs (5)
994var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 1070var instrument = await repository.GetInstrumentAsync(request, CancellationToken.None); 1096var refreshed = await repository.GetInstrumentAsync(new GetInstrumentRequest 1113var partial = await repository.GetInstrumentAsync(new GetInstrumentRequest 1626var instrument = await repository.GetInstrumentAsync(new GetInstrumentRequest
TelemetryRepositoryTests\MetricsTests.cs (41)
61var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 164var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 347var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 400var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 552var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 653var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 704var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 771var instrumentData = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 806var filteredInstrumentData = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 873var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 959var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1077var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1253var resource1Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1268var resource1Test2Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1298var resource2Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1313var resource2Test3Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1398var resource1Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1409var resource1Test2Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1438var resource2Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1453var resource2Test3Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1546var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1602var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1666var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1713var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1793var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1862var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1925var instrument1 = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1942var instrument2 = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2036var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2080var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2422var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 2446var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 2479var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 2508var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 2597var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2647var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2726var initialInstrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2761var refreshedInstrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2817var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2883return (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2938var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest