3 ms·
Until you run your server behind something like gunicorn and all of the auto imports stop working and you have to do it all yourself.
by etimberg 2y ago
Until you run your server behind something like gunicorn and all of the auto imports stop working and you have to do it all yourself.
- BugsJustFindMe 2y agoIt works with uwsgi just fine though.
- jdsleppy 2y agoI found this to work fine https://opentelemetry-python.readthedocs.io/en/latest/examples/fork-process-model/README.html#gunicorn-post-fork-hook https://opentelemetry-python.readthedocs.io/en/latest/exampl...
- jdsleppy 2y ago...but with manually running autoinstrumentation in the post fork hook. I guess there is a lot of undocumented magic in OTel...