Datadog tracer SqlAlchemy integration exception
riyadparvez opened this issue · comments
Riyad Parvez commented
Summary of problem
We keep seeing this exception on our logs. This seems to be coming from datadog integration of sqlalchemy
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/ddtrace/contrib/dbapi/__init__.py", line 125, in _trace_method
return method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.ProgrammingError: can't adapt type 'TextClause'
Which version of dd-trace-py are you using?
ddsketch=3.0.1
ddtrace=2.8.0
Which version of pip are you using?
Which libraries and their versions are you using?
flask-sqlalchemy=3.1.1
sqlalchemy=2.0.29
sqlalchemy-utils=0.41.2