2 implementations of WatchSpansAsync
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.Runtime.cs (1)
217
public async IAsyncEnumerable<OtlpSpan>
WatchSpansAsync
(
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
71
public IAsyncEnumerable<OtlpSpan>
WatchSpansAsync
(WatchSpansRequest request, CancellationToken cancellationToken) => inner.WatchSpansAsync(request, cancellationToken);
10 references to WatchSpansAsync
Aspire.Dashboard (1)
Api\TelemetryApiService.cs (1)
267
await foreach (var span in telemetryRepository.
WatchSpansAsync
(watchRequest, cancellationToken).ConfigureAwait(false))
Aspire.Dashboard.Components.Tests (1)
Shared\TestTelemetryRepository.cs (1)
71
public IAsyncEnumerable<OtlpSpan> WatchSpansAsync(WatchSpansRequest request, CancellationToken cancellationToken) => inner.
WatchSpansAsync
(request, cancellationToken);
Aspire.Dashboard.Tests (8)
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (8)
396
await foreach (var span in repositoryContext.Repository.
WatchSpansAsync
(new WatchSpansRequest { ResourceKeys = [], Filters = [] }, cts.Token))
459
await foreach (var span in repositoryContext.Repository.
WatchSpansAsync
(new WatchSpansRequest { ResourceKeys = [], Filters = [] }, cts.Token))
669
await foreach (var span in repositoryContext.Repository.
WatchSpansAsync
(new WatchSpansRequest { ResourceKeys = [], Filters = [] }, linkedCts.Token))
747
await foreach (var span in repositoryContext.Repository.
WatchSpansAsync
(new WatchSpansRequest { ResourceKeys = [], Filters = [] }, linkedCts.Token))
816
await foreach (var span in repositoryContext.Repository.
WatchSpansAsync
(new WatchSpansRequest { ResourceKeys = [new ResourceKey("service1", "inst1")], Filters = [] }, cts.Token))
891
await foreach (var span in repositoryContext.Repository.
WatchSpansAsync
(new WatchSpansRequest { ResourceKeys = [new ResourceKey("service1", "inst1"), new ResourceKey("service2", "inst2")], Filters = [] }, cts.Token))
1359
await foreach (var span in repositoryContext.Repository.
WatchSpansAsync
(new WatchSpansRequest { ResourceKeys = [], Filters = filters }, cts.Token))
1493
await foreach (var span in repositoryContext.Repository.
WatchSpansAsync
(new WatchSpansRequest { ResourceKeys = [], Filters = [] }, cts.Token))