From 392b1c67137f654d19b9c856b9bf51934d535fd9 Mon Sep 17 00:00:00 2001 From: wantsui Date: Thu, 9 Jan 2025 18:39:00 -0500 Subject: [PATCH] clean up snowflake instructions --- ddtrace/contrib/snowflake/__init__.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ddtrace/contrib/snowflake/__init__.py b/ddtrace/contrib/snowflake/__init__.py index e675ff7a067..bbc892a5362 100644 --- a/ddtrace/contrib/snowflake/__init__.py +++ b/ddtrace/contrib/snowflake/__init__.py @@ -9,13 +9,19 @@ The integration is not enabled automatically when using :ref:`ddtrace-run` or :ref:`import ddtrace.auto`. -Use :func:`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()` to manually enable the integration:: + + from ddtrace import patch patch(snowflake=True) + +or use :func:`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