Skip to content

Commit c91995e

Browse files
committed
Improve http propagation documentation
1 parent 3ca973b commit c91995e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/index.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,19 @@ Supported web frameworks:
288288
- Flask
289289
- Tornado
290290

291-
HTTP client/server
292-
~~~~~~~~~~~~~~~~~~
291+
For web servers not supported, you can extract the HTTP context from the headers using the `HTTPPropagator`.
293292

294-
You can use the `HTTPPropagator` manually when used with an HTTP client or if your web framework isn't supported.
293+
.. autoclass:: ddtrace.propagation.http.HTTPPropagator
294+
:members: extract
295+
296+
HTTP client
297+
~~~~~~~~~~~
298+
299+
When calling a remote HTTP server part of the distributed trace, you have to propagate the HTTP headers.
300+
This is not done automatically to prevent your system from leaking tracing information to external services.
295301

296302
.. autoclass:: ddtrace.propagation.http.HTTPPropagator
297-
:members:
303+
:members: inject
298304

299305
Custom
300306
~~~~~~

0 commit comments

Comments
 (0)