Registry / observability / opentracing-contrib-go-stdlib

opentracing-contrib-go-stdlib

JSON →
library1.1.1gogounverified

Package stdlib provides OpenTracing instrumentation for the Go standard library's net/http package.

go get github.com/opentracing-contrib/go-stdlib
INSTALL
IMPORT
SIG · OPENTRACING-CONTRI
O
opentracing-contrib-go-stdlib
observabilitygov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

stdlib
github.com/opentracing-contrib/go-stdlib

Wraps an HTTP handler with OpenTracing middleware.

package main import ( "net/http" "github.com/opentracing-contrib/go-stdlib/nethttp" ) func main() { handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {}) tracedHandler := nethttp.Middleware(nil, handler) http.ListenAndServe(":8080", tracedHandler) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
opentracing-contrib-go-stdlib — go get opentracing-contrib-go-stdlib · libregistry