reddit / baseplate.py

reddit's python service framework
https://baseplate.readthedocs.io
BSD 3-Clause "New" or "Revised" License
539 stars 173 forks source link

Patch using opentelemetry-instrumentation-threading #953

Closed trevorriles closed 1 month ago

trevorriles commented 2 months ago

This solves some context passing issues when crossing thread boundaries. It also upgrades opentelemetry libs to 1.25.0, which is the release that includes official python 3.12 support.

We apply the instrumentation in this case as a side-effect, similar to how we do the gevent monkey patching.

trevorriles commented 2 months ago

Will fix up these errors after lunch. It seems like the exceptions are now stored with the full classpath.