2 writes to SpanId
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
273SpanId = string.IsNullOrEmpty(log.SpanId) ? null : log.SpanId,
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
239Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpLogRecordJson)obj).SpanId = value!,
5 references to SpanId
Aspire.Dashboard (4)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
326if (json.SpanId is not null) 328logRecord.SpanId = HexToByteString(json.SpanId);
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
238Getter = static obj => ((global::Aspire.Otlp.Serialization.OtlpLogRecordJson)obj).SpanId,
src\Shared\ConsoleLogs\SharedAIHelpers.cs (1)
595["span_id"] = OtlpHelpers.ToShortenedId(logEntry.LogRecord.SpanId ?? string.Empty),
Aspire.Dashboard.Tests (1)
Model\TelemetryExportServiceTests.cs (1)
90Assert.Equal("6566676835363738", logRecord.SpanId); // hex of UTF-8 bytes of "efgh5678"