httptrace

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 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