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