Skip to content

Commit eed3640

Browse files
committed
use lower64 bit for the trace id
1 parent 53a9111 commit eed3640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/extension/extension.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (em *ExtensionManager) SendEndInvocationRequest(ctx context.Context, functi
165165
}
166166
} else {
167167
spanContext := functionExecutionSpan.Context()
168-
req.Header.Set(string(DdTraceId), spanContext.TraceID())
168+
req.Header.Set(string(DdTraceId), fmt.Sprint(spanContext.TraceIDLower()))
169169
req.Header.Set(string(DdSpanId), fmt.Sprint(spanContext.SpanID()))
170170

171171
// Try to get sampling priority

0 commit comments

Comments
 (0)