2 implementations of GetInstrumentAsync
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
269
public Task<OtlpInstrumentData?>
GetInstrumentAsync
(GetInstrumentRequest request, CancellationToken cancellationToken) =>
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
68
public 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)
377
var refreshedInstrument = await TelemetryRepository.
GetInstrumentAsync
(new GetInstrumentRequest
Components\Controls\Chart\LiveSparklinesBase.cs (1)
276
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)
68
public Task<OtlpInstrumentData?> GetInstrumentAsync(GetInstrumentRequest request, CancellationToken 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
2080
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2422
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2446
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2479
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2508
var instrument = await context.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2597
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2647
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2726
var initialInstrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2761
var refreshedInstrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2817
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2883
return (await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest
2938
var instrument = await repositoryContext.Repository.
GetInstrumentAsync
(new GetInstrumentRequest