Skip to content

Commit 6740846

Browse files
committed
Need to specify lower case d
1 parent 7a55e29 commit 6740846

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

processor/loghouseprocessor/processor.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ func promoteTraceAndSpan(l *plog.LogRecord) {
175175
traceID pcommon.TraceID
176176
spanID pcommon.SpanID
177177
)
178-
if tid, ok := l.Attributes().Get("traceID"); ok {
178+
if tid, ok := l.Attributes().Get("traceId"); ok {
179179
parsed, err := ParseTraceID(tid.Str())
180180
if err != nil {
181181
return
182182
}
183183
traceID = parsed
184184
}
185-
if sid, ok := l.Attributes().Get("spanID"); ok {
185+
if sid, ok := l.Attributes().Get("spanId"); ok {
186186
parsed, err := ParseSpanID(sid.Str())
187187
if err != nil {
188188
return

0 commit comments

Comments
 (0)