10 references to Read
Aspire.Dashboard (6)
Components\Pages\Metrics.razor.cs (1)
274
_metricsSubscription = TelemetryRepository.OnNewMetrics(selectedApplicationKey, SubscriptionType.
Read
, async () =>
Components\Pages\StructuredLogs.razor.cs (1)
232
_logsSubscription = TelemetryRepository.OnNewLogs(PageViewModel.SelectedApplication.Id?.GetApplicationKey(), SubscriptionType.
Read
, async () =>
Components\Pages\TraceDetail.razor.cs (1)
171
_tracesSubscription = TelemetryRepository.OnNewTraces(_trace.FirstSpan.Source.ApplicationKey, SubscriptionType.
Read
, () => InvokeAsync(async () =>
Components\Pages\Traces.razor.cs (1)
200
_tracesSubscription = TelemetryRepository.OnNewTraces(selectedApplicationKey, SubscriptionType.
Read
, async () =>
Otlp\Storage\TelemetryRepository.cs (2)
220
return AddSubscription(nameof(OnNewApplications), null, SubscriptionType.
Read
, callback, _applicationSubscriptions);
354
if (!_logSubscriptions.Any(s => s.SubscriptionType == SubscriptionType.
Read
&& (s.ApplicationKey == applicationView.ApplicationKey || s.ApplicationKey == null)))
Aspire.Dashboard.Tests (4)
TelemetryRepositoryTests\LogTests.cs (4)
277
using var subscription = repository.OnNewLogs(applicationKey: null, SubscriptionType.
Read
, () => Task.CompletedTask);
329
using var subscription = repository.OnNewLogs(applicationKey: new ApplicationKey("TestService", "1"), SubscriptionType.
Read
, () => Task.CompletedTask);
491
repository.OnNewLogs(applications[0].ApplicationKey, SubscriptionType.
Read
, () =>
714
var subscription = repository.OnNewLogs(applicationKey: null, SubscriptionType.
Read
, async () =>