Documentation ¶
Overview ¶
Package o11ynethttp provides common http middleware for tracing requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
Middleware returns an http.Handler which wraps an http.Handler and adds an o11y.Provider to the context. A new span is created from the request headers.
This code is based on github.com/beeline-go/wrappers/hnynethttp/nethttp.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.