1 write to SpanId
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
63
SpanId
= record.SpanId.ToHexString();
14 references to SpanId
Aspire.Dashboard (11)
Components\Controls\StructuredLogDetails.razor.cs (2)
94
if (HasTelemetryBaggage(_viewModel.LogEntry.
SpanId
))
96
_contextAttributes.Add(new TelemetryPropertyViewModel { Name = "SpanId", Key = KnownStructuredLogFields.SpanIdField, Value = _viewModel.LogEntry.
SpanId
});
Components\Pages\StructuredLogs.razor.cs (4)
548
logEntry.
SpanId
,
557
var span = TelemetryRepository.GetSpan(logEntry.TraceId, logEntry.
SpanId
)!;
588
.DistinctBy(l => (l.
SpanId
, l.TraceId))
589
.Select(l => TelemetryRepository.GetSpan(l.TraceId, l.
SpanId
)!)
Components_Pages_StructuredLogs_razor.g.cs (1)
1691
DashboardUrls.TraceDetailUrl(context.TraceId, context.
SpanId
)
Components_ResourcesGridColumns_LogMessageColumnDisplay_razor.g.cs (1)
324
!string.IsNullOrEmpty(LogEntry.
SpanId
) &&
Model\Assistant\AIHelpers.cs (1)
273
span_id = OtlpHelpers.ToShortenedId(l.
SpanId
),
Model\Otlp\SpanWaterfallViewModel.cs (1)
131
var groupedLogs = logs.GroupBy(l => l.
SpanId
).ToDictionary(l => l.Key, g => g.ToList());
Otlp\Model\OtlpLogEntry.cs (1)
118
KnownStructuredLogFields.SpanIdField => log.
SpanId
,
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\LogTests.cs (3)
75
Assert.Equal("546573745370616e4964", resource.
SpanId
);
887
Assert.Equal("546573745370616e4964", resource.
SpanId
);
910
Assert.Equal("546573745370616e4964", resource.
SpanId
);