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 55ff075 commit d7daf0dCopy full SHA for d7daf0d
datadog_lambda/tracing.py
@@ -314,6 +314,14 @@ def _extract_context_from_eventbridge_sqs_event(event):
314
body = json.loads(body_str)
315
detail = body.get("detail")
316
dd_context = detail.get("_datadog")
317
+ if is_step_function_event(dd_context):
318
+ try:
319
+ return extract_context_from_step_functions(detail, None)
320
+ except Exception:
321
+ logger.debug(
322
+ "Failed to extract Step Functions context from EventBridge to SQS event."
323
+ )
324
+
325
return propagator.extract(dd_context)
326
327
0 commit comments