Skip to content

Commit

Permalink
clean up snowflake instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
wantsui authored Jan 9, 2025
1 parent 6291397 commit 392b1c6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ddtrace/contrib/snowflake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@
The integration is not enabled automatically when using
:ref:`ddtrace-run<ddtracerun>` or :ref:`import ddtrace.auto<ddtraceauto>`.
Use :func:`patch()<ddtrace.patch>` to manually enable the integration::
Use ``DD_TRACE_SNOWFLAKE_ENABLED=true`` to enable it with ``ddtrace-run``
from ddtrace import patch, patch_all
or :func:`patch()<ddtrace.patch>` to manually enable the integration::
from ddtrace import patch
patch(snowflake=True)
or use :func:`patch_all()<ddtrace.patch_all>` to manually enable the integration::
from ddtrace import patch_all
patch_all(snowflake=True)
or the ``DD_TRACE_SNOWFLAKE_ENABLED=true`` to enable it with ``ddtrace-run``.
Global Configuration
Expand Down

0 comments on commit 392b1c6

Please sign in to comment.