2 writes to SpanId
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
273
SpanId
= string.IsNullOrEmpty(log.SpanId) ? null : log.SpanId,
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
239
Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpLogRecordJson)obj).
SpanId
= value!,
5 references to SpanId
Aspire.Dashboard (4)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
326
if (json.
SpanId
is not null)
328
logRecord.SpanId = HexToByteString(json.
SpanId
);
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
238
Getter = 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)
90
Assert.Equal("6566676835363738", logRecord.
SpanId
); // hex of UTF-8 bytes of "efgh5678"