-
Notifications
You must be signed in to change notification settings - Fork 517
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 database transaction duration has 0 duration #1385
Comments
@fredgido I'd need some sort of minimal reproduction to take a look at this. |
https://gitlab.com/fred.fernandes/minimal_sentry/-/tree/master/app 1.57 do you need my traces ids? |
Hey @fredgido ! |
…gration (#1388) * Revert "fix(sqlalchemy): Change context manager type to avoid race in threads (#1368)" This reverts commit de0bc50. This caused a regression (#1385) since the span finishes immediately in __enter__ and so all db spans have wrong time durations. * Use context instead of conn in sqlalchemy hooks
@fredgido should be fixed in 1.5.9, can you give it a try and reopen if persists? |
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.5.8
Steps to Reproduce
Expected Result
Queries last anything from 1ms to 20ms depending on whatever the query is
This is what happens in 1.5.7
Actual Result
everything takes 0.01ms to 0.02ms
The text was updated successfully, but these errors were encountered: