2 implementations of GetInstrumentAsync
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
267public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) =>
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
53public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) => inner.GetInstrumentAsync(request, cancellationToken);
46 references to GetInstrumentAsync
Aspire.Dashboard (2)
Components\Controls\Chart\ChartContainer.razor.cs (1)
311var 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)
53public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken cancellationToken) => inner.GetInstrumentAsync(request, cancellationToken);
Aspire.Dashboard.Tests (43)
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 (37)
158var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 259var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 310var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 377var instrumentData = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 412var filteredInstrumentData = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 479var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 565var instrument = (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 683var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 859var resource1Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 874var resource1Test2Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 904var resource2Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 919var resource2Test3Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1004var resource1Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1015var resource1Test2Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1044var resource2Test1Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1059var resource2Test3Instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1152var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1208var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1272var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1319var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1399var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1468var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1531var instrument1 = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1548var instrument2 = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1642var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 1686var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2028var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 2052var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 2085var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 2114var instrument = await context.Repository.GetInstrumentAsync(new GetInstrumentRequest 2203var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2253var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2332var initialInstrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2367var refreshedInstrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2423var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2489return (await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest 2544var instrument = await repositoryContext.Repository.GetInstrumentAsync(new GetInstrumentRequest