Skip to content

Commit 68a8d8f

Browse files
Disable, mark snowflake integration as beta
Disable, mark snowflake integration as beta We haven't yet been able to verify snowflake with a real snowflake instance. Until a time in which we can, the integration should be disabled by default. (cherry picked from commit 32c0d96) Co-authored-by: Kyle Verhoog <[email protected]>
1 parent 45ff911 commit 68a8d8f

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

ddtrace/contrib/snowflake/__init__.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
"""
22
The snowflake integration instruments the ``snowflake-connector-python`` library to trace Snowflake queries.
33
4+
Note that this integration is in beta.
5+
46
Enabling
57
~~~~~~~~
68
7-
The integration is enabled automatically when using
9+
The integration is not enabled automatically when using
810
:ref:`ddtrace-run<ddtracerun>` or :ref:`patch_all()<patch_all>`.
911
10-
Or use :ref:`patch()<patch>` to manually enable the integration::
12+
Use :ref:`patch()<patch>` to manually enable the integration::
1113
12-
from ddtrace import patch
14+
from ddtrace import patch, patch_all
1315
patch(snowflake=True)
16+
patch_all(snowflake=True)
17+
18+
or the ``DD_TRACE_SNOWFLAKE_ENABLED=true`` to enable it with ``ddtrace-run``.
1419
1520
1621
Global Configuration

ddtrace/monkey.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"requests": True,
5454
"rq": True,
5555
"sanic": True,
56-
"snowflake": True,
56+
"snowflake": False,
5757
"sqlalchemy": False, # Prefer DB client instrumentation
5858
"sqlite3": True,
5959
"aiohttp": True, # requires asyncio (Python 3.4+)
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
22
features:
33
- |
4-
Add support for `snowflake-connector-python <https://pypi.org/project/snowflake-connector-python/>`_ >= 2.0.0.
4+
Add support for `snowflake-connector-python
5+
<https://pypi.org/project/snowflake-connector-python/>`_ >= 2.0.0. Note
6+
that this integration is in beta and is not enabled by default. See the
7+
snowflake integration documentation for how to enable.

0 commit comments

Comments
 (0)