Skip to content

Commit 3eccb20

Browse files
committed
fix type
1 parent 8658dea commit 3eccb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog_lambda/tracing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def extract_context_from_step_functions(event, lambda_context):
386386
if "_datadog" in event:
387387
# use the trace ID from the top-most parent when it exists
388388
trace_header = event.get("_datadog")
389-
trace_id = trace_header.get(TraceHeader.TRACE_ID)
389+
trace_id = int(trace_header.get(TraceHeader.TRACE_ID))
390390
tags = trace_header.get(TraceHeader.TAGS)
391391
for tag in tags.split(","):
392392
tag_key, tag_val = tag.split("=")

0 commit comments

Comments
 (0)