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 e40f4a8 commit f08fd55Copy full SHA for f08fd55
datadog_lambda/patch.py
@@ -11,7 +11,6 @@
11
12
from wrapt import wrap_function_wrapper as wrap
13
from wrapt.importer import when_imported
14
-from ddtrace import patch_all as patch_all_dd
15
16
from datadog_lambda.tracing import (
17
get_dd_trace_context,
@@ -33,7 +32,7 @@ def patch_all():
33
32
_patch_for_integration_tests()
34
35
if dd_tracing_enabled:
36
- patch_all_dd()
+ import ddtrace.auto # pylint: disable=import-outside-toplevel
37
else:
38
_patch_http()
39
_ensure_patch_requests()
0 commit comments