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 7bdc7d6 commit 6604cf2Copy full SHA for 6604cf2
datadog_lambda/__init__.py
@@ -27,3 +27,9 @@
27
# Patch third-party libraries for tracing, must be done before importing any
28
# handler code.
29
patch_all()
30
+
31
32
+from datadog_lambda.products import enable_ddtrace_products # noqa: E402
33
34
35
+enable_ddtrace_products()
datadog_lambda/products.py
@@ -0,0 +1,8 @@
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()
0 commit comments