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