2 implementations of GetInstrumentAsync
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
271
public Task<OtlpInstrumentData?>
GetInstrumentAsync
(GetInstrumentRequest request, CancellationToken cancellationToken) =>
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
79
public Task<OtlpInstrumentData?>
GetInstrumentAsync
(GetInstrumentRequest request, CancellationToken cancellationToken) =>
51 references to GetInstrumentAsync
Aspire.Dashboard (3)
Components\Controls\Chart\ChartContainer.razor.cs (1)
365
var refreshedInstrument = await TelemetryRepository.
GetInstrumentAsync
(new GetInstrumentRequest
Components\Controls\Chart\LiveSparklinesBase.cs (1)
308
var data = 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)
80
GetInstrumentAsyncHandler?.Invoke(request, cancellationToken) ?? inner.
GetInstrumentAsync
(request, cancellationToken);
Aspire.Dashboard.Tests (47)
Integration\OtlpHttpJsonTests.cs (1)
769
var instrumentData = await telemetryRepository.
GetInstrumentAsync
(new GetInstrumentRequest
TelemetryRepositoryTests\HistogramTests.cs (5)
994
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1070
var instrument = await repository.
GetInstrumentAsync
(request, CancellationToken.None);
1096
var refreshed = await repository.
GetInstrumentAsync
(new GetInstrumentRequest
1113
var partial = await repository.
GetInstrumentAsync
(new GetInstrumentRequest
1626
var instrument = await repository.
GetInstrumentAsync
(new GetInstrumentRequest
TelemetryRepositoryTests\MetricsTests.cs (41)
61
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
164
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
347
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
400
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
552
var instrument = (await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
653
var instrument = (await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
704
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
771
var instrumentData = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
806
var filteredInstrumentData = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
873
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
959
var instrument = (await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1077
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1253
var resource1Test1Instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1268
var resource1Test2Instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1298
var resource2Test1Instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1313
var resource2Test3Instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1398
var resource1Test1Instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1409
var resource1Test2Instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1438
var resource2Test1Instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1453
var resource2Test3Instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1546
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1602
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1666
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1713
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1793
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1862
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1925
var instrument1 = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
1942
var instrument2 = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2036
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2088
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2430
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2454
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2487
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2516
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2605
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2655
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2734
var initialInstrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2769
var refreshedInstrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2825
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2891
return (await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2946
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest