Skip to content

Commit 3a701d9

Browse files
authored
Merge pull request #86 from lightstep/issue_85
Truncate LSb
2 parents 8174a9c + 1e45148 commit 3a701d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightstep/tracer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class ScopePatch(scope.__class__):
108108
def __exit__(self, exc_type, exc_val, exc_tb):
109109

110110
self.span.context.trace_id = int(
111-
format(self.span.context.trace_id, "032x")[:16], 16
111+
format(self.span.context.trace_id, "032x")[16:], 16
112112
)
113113

114114
result = super(self.__class__, self).__exit__(

0 commit comments

Comments
 (0)