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 7676cc9 commit 63c10f3Copy full SHA for 63c10f3
datadog_lambda/tracing.py
@@ -597,7 +597,10 @@ def extract_dd_trace_context(
597
event, lambda_context
598
)
599
elif event_source.equals(EventTypes.EVENTBRIDGE):
600
- context = extract_context_from_eventbridge_event(event, lambda_context)
+ if os.environ.get("DD_EXTENSION_VERSION") == "next":
601
+ context = None
602
+ else:
603
+ context = extract_context_from_eventbridge_event(event, lambda_context)
604
elif event_source.equals(EventTypes.KINESIS):
605
context = extract_context_from_kinesis_event(event, lambda_context)
606
elif event_source.equals(EventTypes.STEPFUNCTIONS):
0 commit comments