1 write to SpanId
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
52SpanId = spanId;
11 references to SpanId
Aspire.Dashboard (5)
Components\Controls\StructuredLogDetails.razor.cs (2)
92if (HasTelemetryBaggage(_viewModel.LogEntry.SpanId)) 94_contextAttributes.Add(new TelemetryPropertyViewModel { Name = "SpanId", Key = KnownStructuredLogFields.SpanIdField, Value = _viewModel.LogEntry.SpanId });
Model\TelemetryExportService.cs (2)
266SpanId = string.IsNullOrEmpty(log.SpanId) ? null : log.SpanId,
Otlp\Model\OtlpLogEntry.cs (1)
68KnownStructuredLogFields.SpanIdField => log.SpanId,
Aspire.Dashboard.Tests (6)
Integration\OtlpHttpJsonTests.cs (1)
601Assert.Equal("eee19b7ec3c1b174", log.SpanId);
Model\TraceDetailPageViewModelTests.cs (1)
116SpanId = logEntry.SpanId,
TelemetryRepositoryTests\LogTests.cs (4)
77Assert.Equal("546573745370616e4964", resource.SpanId); 199Assert.Equal(log.SpanId, summary.SpanId); 1228Assert.Equal("546573745370616e4964", resource.SpanId); 1251Assert.Equal("546573745370616e4964", resource.SpanId);