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)
142
if (
_trace
is null)
147
var headerSpan =
_trace
.RootOrFirstSpan;
153
if (TraceId !=
_trace
?.TraceId)
183
if (
_trace
== null)
204
Value =
_trace
.TraceId
209
Logger.LogInformation("Trace '{TraceId}' has {SpanCount} spans.",
_trace
.TraceId,
_trace
.Spans.Count);
210
_spanWaterfallViewModels = SpanWaterfallViewModel.Create(
_trace
, result.Items, new SpanWaterfallViewModel.TraceDetailState(OutgoingPeerResolvers.ToArray(), _collapsedSpanIds));
214
foreach (var span in
_trace
.Spans)
235
if (
_trace
== null)
241
if (_tracesSubscription is null || _tracesSubscription.ApplicationKey !=
_trace
.FirstSpan.Source.ApplicationKey)
244
_tracesSubscription = TelemetryRepository.OnNewTraces(
_trace
.FirstSpan.Source.ApplicationKey, SubscriptionType.Read, () => InvokeAsync(async () =>
246
if (
_trace
== null)
252
if (TelemetryRepository.HasUpdatedTrace(
_trace
))