http

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TraceRequestAttrs

func TraceRequestAttrs(r *http.Request) []attribute.KeyValue

TraceRequestAttrs returns a list of attributes to be set for a given http.Request (only useful for traces, as it reports the url string with any variable parameter that it might contain).

func TraceResponseAttrs

func TraceResponseAttrs(resp *http.Response) []attribute.KeyValue

TraceResponseAttrs returns a list of attributes to be set for a given http.Response.

Types

This section is empty.

Directories

Path Synopsis
Package client provides the instrumentation for an http client.
Package client provides the instrumentation for an http client.

Jump to

Keyboard shortcuts

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