2 writes to TraceId
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
272
TraceId
= string.IsNullOrEmpty(log.TraceId) ? null : log.TraceId,
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
219
Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpLogRecordJson)obj).
TraceId
= value!,
5 references to TraceId
Aspire.Dashboard (4)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
322
if (json.
TraceId
is not null)
324
logRecord.TraceId = HexToByteString(json.
TraceId
);
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
218
Getter = static obj => ((global::Aspire.Otlp.Serialization.OtlpLogRecordJson)obj).
TraceId
,
src\Shared\ConsoleLogs\SharedAIHelpers.cs (1)
596
["trace_id"] = OtlpHelpers.ToShortenedId(logEntry.LogRecord.
TraceId
?? string.Empty),
Aspire.Dashboard.Tests (1)
Model\TelemetryExportServiceTests.cs (1)
89
Assert.Equal("61626364313233346162636431323334", logRecord.
TraceId
); // hex of UTF-8 bytes of "abcd1234abcd1234"