opencensus-python icon indicating copy to clipboard operation
opencensus-python copied to clipboard

Fix Django DB wrapper initialization

Open tpyo opened this issue 6 years ago • 5 comments

Fixes #810

tpyo avatar Nov 06 '19 17:11 tpyo

@jordanorc Would you mind testing this to see if it resolves your issue?

tpyo avatar Nov 06 '19 17:11 tpyo

@tpyo, Yes!!! It's working perfectly now! I also tested with Daphne and everything seems to be ok. Thank you very much for your help!!!

I'm now facing problems with requests integration. Do you know if someone can help?

jordanorc avatar Nov 06 '19 19:11 jordanorc

@jordanorc Thanks for testing. Maybe open an issue if you're having trouble with the requests integration?

tpyo avatar Nov 07 '19 14:11 tpyo

Thanks @tpyo! I already do that here: https://github.com/census-instrumentation/opencensus-python/issues/812. I also found a solution to solve the "problem".But I don't know if it is a problem in fact.

jordanorc avatar Nov 07 '19 15:11 jordanorc

@AyWa Tests are failing but this does address the issue. Haven't had a chance to figure out how to get it to work with the context manager Django uses. Help is welcome!

tpyo avatar Jan 29 '20 06:01 tpyo