Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datadog tracer SqlAlchemy integration exception #9007

Open
riyadparvez opened this issue Apr 16, 2024 · 0 comments
Open

Datadog tracer SqlAlchemy integration exception #9007

riyadparvez opened this issue Apr 16, 2024 · 0 comments

Comments

@riyadparvez
Copy link

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

How can we reproduce your problem?

What is the result that you get?

What is the result that you expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant