File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1717
1818
1919initialize_logging (__name__ )
20+
21+
22+ from datadog_lambda .patch import patch_all # noqa: E402
23+
24+ # Patch third-party libraries for tracing, must be done before importing any
25+ # handler code.
26+ patch_all ()
Original file line number Diff line number Diff line change 2525 Headers ,
2626)
2727from datadog_lambda .module_name import modify_module_name
28- from datadog_lambda .patch import patch_all
2928from datadog_lambda .span_pointers import calculate_span_pointers
3029from datadog_lambda .tag_object import tag_object
3130from datadog_lambda .tracing import (
4746 extract_http_status_code_tag ,
4847)
4948
50- # Patch third-party libraries for tracing, must be done before importing any
51- # handler code.
52- patch_all ()
53-
5449if config .profiling_enabled :
5550 from ddtrace .profiling import profiler
5651
You can’t perform that action at this time.
0 commit comments