-
Notifications
You must be signed in to change notification settings - Fork 641
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
Sqlalchemy uninstrument function doesnt work as expected #1163
Comments
I don't think this is still relevant. On a side note, you should call |
@liorzmetis please share a fully reproducible example that still has the issue. |
I think I get the problem, The problem is with the Engine. Line 108 in c92ba14
But no one call remove on the events after the uninstrument and for the uninstrument test, I created a new engine after uninstrument so the test missed this I will fix this |
Yeap, the engine still receiving events after uninstrument function has been called
|
Describe your environment Describe any aspect of your environment relevant to the problem, including your Python version: 3.9
Steps to reproduce
Just create a SQLAlchemy instrumentation and call
uninstrument
functionExample:
What is the expected behavior?
Don't collect spans
What is the actual behavior?
Still recording and collecting spans
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: