Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions datadog_lambda/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

from wrapt import wrap_function_wrapper as wrap
from wrapt.importer import when_imported
from ddtrace import patch_all as patch_all_dd

from datadog_lambda.tracing import (
get_dd_trace_context,
Expand All @@ -33,7 +32,7 @@ def patch_all():
_patch_for_integration_tests()

if dd_tracing_enabled:
patch_all_dd()
import ddtrace.auto # noqa: F401
else:
_patch_http()
_ensure_patch_requests()
Expand Down
Loading