File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 2727# Patch third-party libraries for tracing, must be done before importing any
2828# handler code.
2929patch_all ()
30+
31+
32+ from datadog_lambda .products import enable_ddtrace_products # noqa: E402
33+
34+
35+ enable_ddtrace_products ()
Original file line number Diff line number Diff line change 1+ from datadog_lambda .config import config
2+
3+
4+ def enable_ddtrace_products ():
5+ if config .appsec_enabled :
6+ from ddtrace .internal .appsec .product import start
7+
8+ start ()
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ classifiers = [
2828python = " >=3.8.0,<4"
2929datadog = " >=0.51.0,<1.0.0"
3030wrapt = " ^1.11.2"
31- ddtrace = " >=3.11 .0,<4"
31+ ddtrace = " >=3.12 .0,<4"
3232ujson = " >=5.9.0"
3333botocore = { version = " ^1.34.0" , optional = true }
3434requests = { version =" ^2.22.0" , optional = true }
You can’t perform that action at this time.
0 commit comments