1 write to _trace
Aspire.Dashboard (1)
Components\Pages\TraceDetail.razor.cs (1)
181_trace = (TraceId != null) ? TelemetryRepository.GetTrace(TraceId) : null;
14 references to _trace
Aspire.Dashboard (14)
Components\Pages\TraceDetail.razor.cs (14)
142if (_trace is null) 147var headerSpan = _trace.RootOrFirstSpan; 153if (TraceId != _trace?.TraceId) 183if (_trace == null) 204Value = _trace.TraceId 209Logger.LogInformation("Trace '{TraceId}' has {SpanCount} spans.", _trace.TraceId, _trace.Spans.Count); 210_spanWaterfallViewModels = SpanWaterfallViewModel.Create(_trace, result.Items, new SpanWaterfallViewModel.TraceDetailState(OutgoingPeerResolvers.ToArray(), _collapsedSpanIds)); 214foreach (var span in _trace.Spans) 235if (_trace == null) 241if (_tracesSubscription is null || _tracesSubscription.ApplicationKey != _trace.FirstSpan.Source.ApplicationKey) 244_tracesSubscription = TelemetryRepository.OnNewTraces(_trace.FirstSpan.Source.ApplicationKey, SubscriptionType.Read, () => InvokeAsync(async () => 246if (_trace == null) 252if (TelemetryRepository.HasUpdatedTrace(_trace))