We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9d6551 commit 087b5e9Copy full SHA for 087b5e9
1 file changed
datadog_lambda/patch.py
@@ -31,6 +31,14 @@ def patch_all():
31
32
if config.trace_enabled:
33
patch_all_dd()
34
+ # Todo: remove this for PR. This is just a testing helper
35
+ # Manually patch the durable execution integration since it may not
36
+ # be registered in the PyPI ddtrace's _monkey.py yet.
37
+ try:
38
+ from ddtrace import patch as _patch_dd
39
+ _patch_dd(aws_durable_execution_sdk_python=True)
40
+ except Exception:
41
+ pass
42
else:
43
_patch_http()
44
_ensure_patch_requests()
0 commit comments