-
Notifications
You must be signed in to change notification settings - Fork 477
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
[Django] Clickhouse integration not working after upgrading from 1.45.0 #3088
Comments
Thanks @marsha97, looks like a possible regression in 2.0, we will take a look asap. |
The reason for this is that in SDK 2.0+ we're now auto-enabling the In other words, the reason it seemed to work in 1.45.0 is most likely because the integration was not enabled. @marsha97 Correct me if I'm wrong -- you weren't explicitly enabling the integration via Fixing this in #3096 to restore previous behavior (i.e., the integration not actually doing much when used with We will follow up to actually make this work properly in #3095 (this might take a bit). |
Yes, correct, i didn't specify the ch integration explicitly |
The fix for this will be out in 2.3.0 later today. |
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.2.0
Steps to Reproduce
I tried to query as usual with django-clickhouse-backend
as simple as
CHFoo.objects.first()
and I got
AttributeError: 'Connection' object has no attribute '_sentry_span'
exception.It worked before when using version 1.45.0
I have tried to bump the clickhouse-driver and django-clickhouse-backend, bu no luck
pip:
Expected Result
Should work as usual
Actual Result
The text was updated successfully, but these errors were encountered: