Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
func NewHTTPClient(params Parameters) *http.Client
NewHTTPClient creates an http.Client that propagates OpenTelemetry trace headers.
func NewRoundTripper ¶
func NewRoundTripper(params Parameters) http.RoundTripper
NewRoundTripper creates an http.RoundTripper that propagates OpenTelemetry trace headers.
Types ¶
type Parameters ¶
type Parameters struct {
Tracing opentelemetry.Configuration `optional:"true"`
}
Click to show internal directories.
Click to hide internal directories.