File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727 DATADOG_TRACE = {
2828 'DEFAULT_SERVICE': 'my-django-app',
29+ 'TAGS': {'env': 'production'},
2930 }
3031
3132If you need to access to the tracing settings, you should::
3839
3940The available settings are:
4041
42+ * ``DEFAULT_SERVICE`` (default: ``django``): set the service name used by the
43+ tracer. Usually this configuration must be updated with a meaningful name.
44+ * ``TAGS`` (default: ``{}``): set global tags that should be applied to all
45+ spans.
4146* ``TRACER`` (default: ``ddtrace.tracer``): set the default tracer
4247 instance that is used to trace Django internals. By default the ``ddtrace``
4348 tracer is used.
44- * ``DEFAULT_SERVICE`` (default: ``django``): set the service name used by the
45- tracer. Usually this configuration must be updated with a meaningful name.
4649* ``ENABLED`` (default: ``not django_settings.DEBUG``): defines if the tracer is
4750 enabled or not. If set to false, the code is still instrumented but no spans
4851 are sent to the trace agent. This setting cannot be changed at runtime
You can’t perform that action at this time.
0 commit comments