File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 66installed apps and in your middleware classes in ``settings.py``::
77
88 INSTALLED_APPS = [
9- # ...
9+ # your Django apps ...
1010
1111 # the order is not important
1212 'ddtrace.contrib.django',
1515 MIDDLEWARE_CLASSES = (
1616 # the tracer must be the first middleware
1717 'ddtrace.contrib.django.TraceMiddleware',
18- ...
18+
19+ # your middleware...
1920 )
2021
2122The configuration of this integration is all namespaced inside a single
3637
3738The available settings are:
3839
39- * ``TRACER`` (default ``ddtrace.tracer``): set the default tracer
40+ * ``TRACER`` (default: ``ddtrace.tracer``): set the default tracer
4041 instance that is used to trace Django internals. By default the ``ddtrace``
4142 tracer is used.
4243* ``DEFAULT_SERVICE`` (default: ``django``): set the service name used by the
4344 tracer. Usually this configuration must be updated with a meaningful name.
4445* ``ENABLED``: (default: ``not django_settings.DEBUG``): set if the tracer
4546 is enabled or not. When a tracer is disabled, Django internals are not
4647 automatically instrumented and the requests are not traced even if the
47- ``TraceMiddleware`` is properly installed. This settings cannot be changed
48+ ``TraceMiddleware`` is properly installed. This setting cannot be changed
4849 at runtime and a restart is required. By default the tracer is disabled
4950 when in ``DEBUG`` mode, enabled otherwise.
5051"""
You can’t perform that action at this time.
0 commit comments