Versions in this module Expand all Collapse all v1 v1.0.0 Apr 28, 2021 Changes in this version + func ExtractSpanContextFromRequest(r *http.Request) opentracing.SpanContext + func Initialize(service string, logger Logger) (io.Closer, error) + type Info struct + IsSampled bool + ParentID string + SpanID string + TraceID string + type Logger interface + Debugf func(format string, args ...interface{}) + Error func(args ...interface{}) + type Span struct + func SpanFromContext(ctx context.Context) *Span + func StartSpanFromContext(ctx context.Context, operationName string) (*Span, context.Context) + func StartSpanFromRequest(r *http.Request) (*Span, context.Context) + func (s *Span) Info() *Info + func (s *Span) Panic(err interface{}) + func (s *Span) SetError(err error) + func (s *Span) SetHTTPResponseStatus(status int) + func (s *Span) String() string