Source File
doc.go
Belonging Package
go.pact.im/x/traces
// Package traces provides distributed tracing primitives.//// Create a [Tracer] with [New] and pass it explicitly to instrumented code.// Call [Tracer.Start] with an explicit parent [SpanRef] (a zero value starts a// new trace) and finish spans with [Span.End] or [EndError]. Use [NewContext]// and [FromContext] to carry a [SpanRef] across API boundaries.//// By convention, accept [SpanRef] when a function only needs a parent for its// own spans, and accept [Span] when it is meant to annotate the caller’s span.package traces
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)