1 write to SpanId
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
63SpanId = record.SpanId.ToHexString();
11 references to SpanId
Aspire.Dashboard (8)
Components\Controls\StructuredLogDetails.razor.cs (2)
85if (HasTelemetryBaggage(_viewModel.LogEntry.SpanId)) 87_contextAttributes.Add(new TelemetryPropertyViewModel { Name = "SpanId", Key = KnownStructuredLogFields.SpanIdField, Value = _viewModel.LogEntry.SpanId });
Components\Pages\StructuredLogs.razor.cs (4)
485logEntry.SpanId, 494var span = TelemetryRepository.GetSpan(logEntry.TraceId, logEntry.SpanId)!; 524.DistinctBy(l => (l.SpanId, l.TraceId)) 525.Select(l => TelemetryRepository.GetSpan(l.TraceId, 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);