Documentation
¶
Overview ¶
Package httptrace instruments existing HTTP clients and RoundTrippers without changing their timeouts, redirects, request bodies or connection pools. Construction and policy selection belong to the caller; this package neither initializes telemetry exporters nor constructs a new network transport.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoHTTP ¶
DoHTTP preserves the caller's timeouts, redirects and cookie jar. It does not mutate shared clients or transports; the underlying connection pool is reused.
func TracedTransport ¶
func TracedTransport(base http.RoundTripper) http.RoundTripper
TracedTransport propagates the current W3C context and records connection phases without capturing addresses, credentials, headers or payloads.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.