We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1d475 commit e9a7d46Copy full SHA for e9a7d46
datadog_lambda/tracing.py
@@ -389,11 +389,7 @@ def extract_context_from_step_functions(event, lambda_context):
389
)
390
if "x-datadog-trace-id" in dd_data: # lambda root
391
dd_data["x-datadog-parent-id"] = str(parent_id)
392
- explicit_context = propagator.extract(dd_data)
393
- if _is_context_complete(explicit_context):
394
- return explicit_context
395
- else:
396
- return None
+ return propagator.extract(dd_data)
397
else: # sfn root
398
trace_id = _sha256_to_binary_part(
399
dd_data.get("x-datadog-trace-id-hash"), LOWER_64_BITS
0 commit comments