Documentation ¶ Index ¶ func NewSpan(ctx context.Context, spanName string, opts ...trace.SpanStartOption) (context.Context, trace.Span) func RegisterTracer(endpoint string, g *conf.Global) error func SpanID(ctx context.Context) string func TraceID(ctx context.Context) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewSpan ¶ func NewSpan(ctx context.Context, spanName string, opts ...trace.SpanStartOption) (context.Context, trace.Span) NewSpan creates a span using default tracer. func RegisterTracer ¶ func RegisterTracer(endpoint string, g *conf.Global) error func SpanID ¶ func SpanID(ctx context.Context) string func TraceID ¶ func TraceID(ctx context.Context) string Types ¶ This section is empty. Source Files ¶ View all Source files tracing.go Click to show internal directories. Click to hide internal directories.