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 86965b6 commit 13f9c6cCopy full SHA for 13f9c6c
ddtrace/profiling/auto.py
@@ -1,5 +1,9 @@
1
"""Automatically starts a collector when imported."""
2
+from ddtrace.internal.logger import get_logger
3
from ddtrace.profiling.bootstrap import sitecustomize # noqa
4
5
6
+log = get_logger(__name__)
7
+log.debug("Enabling the profiler by auto import")
8
+
9
start_profiler = sitecustomize.start_profiler
0 commit comments