You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.rst
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ for changing your code::
37
37
Usage: [ENV_VARS] ddtrace-run <my_program>
38
38
39
39
40
-
The available environment variables are:
40
+
The available environment variables for `ddtrace-run` are:
41
41
42
42
* ``DATADOG_TRACE_ENABLED=true|false`` (default: true): Enable web framework and library instrumentation. When false, your application code
43
43
will not generate any traces.
@@ -112,6 +112,17 @@ small example that shows adding a custom span to a Flask application::
112
112
113
113
Read the full `API`_ for more details.
114
114
115
+
Modifying the Agent hostname and port
116
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117
+
118
+
If the Datadog Agent is on a separate host from your application, you can modify the default ddtrace.tracer object to utilize another hostname and port. Here is a small example showcasing this::
0 commit comments