1 write to _trace
Aspire.Dashboard (1)
Components\Pages\TraceDetail.razor.cs (1)
257
_trace
= (TraceId != null) ? TelemetryRepository.GetTrace(TraceId) : null;
15 references to _trace
Aspire.Dashboard (15)
Components\Pages\TraceDetail.razor.cs (15)
134
NavigationManager.NavigateTo(DashboardUrls.StructuredLogsUrl(traceId:
_trace
?.TraceId));
208
if (
_trace
is null)
213
var headerSpan =
_trace
.RootOrFirstSpan;
219
if (TraceId !=
_trace
?.TraceId)
259
if (
_trace
== null)
281
Value =
_trace
.TraceId
286
Logger.LogInformation("Trace '{TraceId}' has {SpanCount} spans.",
_trace
.TraceId,
_trace
.Spans.Count);
287
_spanWaterfallViewModels = SpanWaterfallViewModel.Create(
_trace
, result.Items, new SpanWaterfallViewModel.TraceDetailState(OutgoingPeerResolvers.ToArray(), _collapsedSpanIds));
291
foreach (var span in
_trace
.Spans)
322
if (
_trace
== null)
328
if (_tracesSubscription is null || _tracesSubscription.ResourceKey !=
_trace
.FirstSpan.Source.ResourceKey)
331
_tracesSubscription = TelemetryRepository.OnNewTraces(
_trace
.FirstSpan.Source.ResourceKey, SubscriptionType.Read, () => InvokeAsync(async () =>
333
if (
_trace
== null)
339
if (TelemetryRepository.HasUpdatedTrace(
_trace
))