Help us shape the future of Go! Take the 2026 Go Developer Survey

httptrace

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package httptrace provides OpenTelemetry instrumentation wrappers for http Clients and Transports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapClient

func WrapClient(c *http.Client) *http.Client

WrapClient clones *http.Client and installs OpenTelemetry transport instrumentation.

func WrapTransport

func WrapTransport(tr http.RoundTripper) http.RoundTripper

WrapTransport constructs OpenTelemetry http.RoundTripper around given transport.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL