This repository was archived by the owner on Sep 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +0
-20
lines changed
contrib/opencensus-ext-django
tests/system/trace/django/app Expand file tree Collapse file tree 4 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,6 @@ the ``MIDDLEWARE`` section in the Django ``settings.py`` file.
2626 ' opencensus.ext.django.middleware.OpencensusMiddleware' ,
2727 ]
2828
29- And add this line to the ``INSTALLED_APPS `` section:
30-
31- .. code :: python
32-
33- INSTALLED_APPS = [
34- ...
35- ' opencensus.ext.django' ,
36- ]
37-
3829 Additional configuration can be provided, please read
3930`Customization <https://github.com/census-instrumentation/opencensus-python#customization >`_
4031for a complete reference.
Original file line number Diff line number Diff line change 2929 'django.contrib.sessions' ,
3030 'django.contrib.messages' ,
3131 'django.contrib.staticfiles' ,
32- 'opencensus.trace.ext.django' ,
3332)
3433
3534MIDDLEWARE = (
Original file line number Diff line number Diff line change @@ -217,15 +217,6 @@ the ``MIDDLEWARE`` section in the Django ``settings.py`` file.
217217 ' opencensus.ext.django.middleware.OpencensusMiddleware' ,
218218 ]
219219
220- And add this line to the ``INSTALLED_APPS `` section:
221-
222- .. code :: python
223-
224- INSTALLED_APPS = [
225- ...
226- ' opencensus.trace.ext.django' ,
227- ]
228-
229220 You can configure the sampler, exporter, propagator using the ``OPENCENSUS_TRACE `` setting in
230221``settings.py ``:
231222
Original file line number Diff line number Diff line change 2929 'django.contrib.sessions' ,
3030 'django.contrib.messages' ,
3131 'django.contrib.staticfiles' ,
32- 'opencensus.ext.django' ,
3332)
3433
3534MIDDLEWARE = (
You can’t perform that action at this time.
0 commit comments