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: content/en/tracing/trace_collection/automatic_instrumentation/dd_libraries/python.md
+2-34Lines changed: 2 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,41 +60,9 @@ Once you've finished setup and are running the tracer with your application, you
60
60
61
61
## Configuration
62
62
63
-
If needed, configure the tracing library to send application performance telemetry data as you require, including setting up Unified Service Tagging. Read [Library Configuration][3] for details.
63
+
The tracing library can be configured through environment variables. This is the recommended approach for setting the Agent host, port, and other settings.
64
64
65
-
The connection for traces can also be configured in code:
66
-
67
-
```python
68
-
from ddtrace import tracer
69
-
70
-
# Network sockets
71
-
tracer.configure(
72
-
https=False,
73
-
hostname="custom-hostname",
74
-
port="1234",
75
-
)
76
-
77
-
# Unix domain socket configuration
78
-
tracer.configure(
79
-
uds_path="/var/run/datadog/apm.socket",
80
-
)
81
-
```
82
-
83
-
The connection for stats can also be configured in code:
0 commit comments