-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow django to be instrumented automatically
Django instrumentation required that OTEL_PYTHON_DJANGO_INSTRUMENT environment variable be set to "True" by users. All other instrumentations are enabled out of the box and there is no apparent reason to disable Django by default. This commit changes the logic so that Django instrumentation is applied by default. Users can set `OTEL_PYTHON_DJANGO_INSTRUMENT` env var to `"False"` to disable it.
- Loading branch information
Showing
3 changed files
with
8 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
instrumentation/opentelemetry-instrumentation-django/tests/conftest.py
This file was deleted.
Oops, something went wrong.