Skip to content

Commit 4474aba

Browse files
committed
Fix Template regressions
1 parent 6c09088 commit 4474aba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

velocitas_sdk/util/log.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def record_factory(*args, **kwargs):
7171

7272
record.otelSpanID = "0"
7373
record.otelTraceID = "0"
74+
record.otelTraceSampled = True
7475
ctx = span.get_span_context()
7576
if ctx != INVALID_SPAN_CONTEXT:
7677
record.otelSpanID = format(ctx.span_id, "016x")

0 commit comments

Comments
 (0)