File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ def notify(self):
5454 'datadog_trace': {
5555 'default_service': 'my-tornado-app',
5656 'tags': {'env': 'production'},
57+ 'distributed_tracing': True,
5758 },
5859 }
5960
@@ -66,8 +67,11 @@ def notify(self):
6667* ``default_service`` (default: `tornado-web`): set the service name used by the tracer. Usually
6768 this configuration must be updated with a meaningful name.
6869* ``tags`` (default: `{}`): set global tags that should be applied to all spans.
69- * ``enabled`` (default: `true `): define if the tracer is enabled or not. If set to `false`, the
70+ * ``enabled`` (default: `True `): define if the tracer is enabled or not. If set to `false`, the
7071 code is still instrumented but no spans are sent to the APM agent.
72+ * ``distributed_tracing`` (default: `False`): enable distributed tracing if this is called
73+ remotely from an instrumented application.
74+ We suggest to enable it only for internal services where headers are under your control.
7175* ``agent_hostname`` (default: `localhost`): define the hostname of the APM agent.
7276* ``agent_port`` (default: `8126`): define the port of the APM agent.
7377"""
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ Supported web frameworks:
286286
287287- Django
288288- Flask
289-
289+ - Tornado
290290
291291HTTP client/server
292292~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments