Versions in this module Expand all Collapse all v1 v1.0.1 Apr 15, 2024 v1.0.0 Apr 15, 2024 Changes in this version + func Client(opts ...Option) middleware.Middleware + func Server(opts ...Option) middleware.Middleware + func SpanID() log.Valuer + func TraceID() log.Valuer + type ClientHandler struct + func (c *ClientHandler) HandleConn(ctx context.Context, cs stats.ConnStats) + func (c *ClientHandler) HandleRPC(ctx context.Context, rs stats.RPCStats) + func (c *ClientHandler) TagConn(ctx context.Context, cti *stats.ConnTagInfo) context.Context + func (c *ClientHandler) TagRPC(ctx context.Context, rti *stats.RPCTagInfo) context.Context + type Metadata struct + func (b Metadata) Extract(parent context.Context, carrier propagation.TextMapCarrier) context.Context + func (b Metadata) Fields() []string + func (b Metadata) Inject(ctx context.Context, carrier propagation.TextMapCarrier) + type Option func(*options) + func WithPropagator(propagator propagation.TextMapPropagator) Option + func WithTracerName(tracerName string) Option + func WithTracerProvider(provider trace.TracerProvider) Option + type Tracer struct + func NewTracer(kind trace.SpanKind, opts ...Option) *Tracer + func (t *Tracer) End(ctx context.Context, span trace.Span, m interface{}, err error) + func (t *Tracer) Start(ctx context.Context, operation string, carrier propagation.TextMapCarrier) (context.Context, trace.Span)