Skip to content

Commit 6018352

Browse files
committed
Fix create_function_execution_span call site
1 parent 795901a commit 6018352

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

datadog_lambda/wrapper.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ def _before(self, event, context):
122122
if dd_tracing_enabled:
123123
set_dd_trace_py_root(dd_context, self.merge_xray_traces)
124124
self.span = create_function_execution_span(
125-
context, self.function_name, is_cold_start(), dd_context
125+
context,
126+
self.function_name,
127+
is_cold_start(),
128+
dd_context,
129+
self.merge_xray_traces,
126130
)
127131
else:
128132
set_correlation_ids()

0 commit comments

Comments
 (0)