Versions in this module Expand all Collapse all v1 v1.0.0 Jul 31, 2021 Changes in this version + var Discard = errors.New("discard") + var ErrUnsupportedProvider = errors.New("unsupported trace provider") + var Flags = flag.Flags + func Extract(ctx context.Context) map[string]string + func Inject(ctx context.Context, m map[string]string) context.Context + func NewTracer(ctx context.Context) (io.Closer, error) + func WithinSpan(ctx context.Context, name string, ...) error + type Span struct + func (s Span) SetAttributes(m map[string]interface{}) + type TracedMutex struct + func NewTracedMutex() *TracedMutex + func (t *TracedMutex) Lock(ctx context.Context) + func (t *TracedMutex) Unlock()