diff --git a/ddtrace/tracer/option.go b/ddtrace/tracer/option.go index cf5a8efbae..952f13f94c 100644 --- a/ddtrace/tracer/option.go +++ b/ddtrace/tracer/option.go @@ -244,6 +244,7 @@ func WithSampler(s Sampler) StartOption { } // WithHTTPRoundTripper is deprecated. Please consider using WithHTTPClient instead. +// The function allows customizing the underlying HTTP transport for emitting spans. func WithHTTPRoundTripper(r http.RoundTripper) StartOption { return WithHTTPClient(&http.Client{ Transport: r,