Document how to work with fork process web server models(Gunicorn, uWSGI etc...)#1609
Document how to work with fork process web server models(Gunicorn, uWSGI etc...)#1609lzchen merged 21 commits intoopen-telemetry:mainfrom
Conversation
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
…python into fork-process
|
@owais Updated the examples and documentation. PTAL. |
|
Hello! Should there be disclaimer stating that if environment variable like Reason: Examples where filtering won't work: gunicorn.conf.py app.py Examples where filtering will work: app.py |
|
@ash-ishh it isn't really related to this PR and to be precise the excluded urls list for third party packages is created when the instrumentations are imported eg: flask see here. It doesn't work if you import the instrumentation first and then set the env. This is the current behaviour for all the instrumentations irrespective the process models. |
|
Understood.. the reason I stumbled upon issue was because in Django while setting If in future enough people repeat the same mistake then maybe we might need to add disclaimer in Sorry for raising the issue in wrong place and thanks for the clarification :) |
|
@ocelotl |
Reviewed 👍 |
Description
Add how to work with fork process web server models(Gunicorn, uWSGI etc...)
Fixes open-telemetry/opentelemetry-python-contrib#291
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
tox -e docstox -e lintDoes This PR Require a Contrib Repo Change?
Checklist: