Documentation ¶
Index ¶
- Variables
- func InitTracer(flag, service string) func()
- func NewNamedSpan(ctx context.Context, name string, opts ...trace.StartOption) (context.Context, trace.Span)
- func NewSpan(ctx context.Context, opts ...trace.StartOption) (context.Context, trace.Span)
- func SetTraceProvider(tp trace.Provider)
- func Tracer(name string) trace.Tracer
Constants ¶
This section is empty.
Variables ¶
View Source
var EnabledTracer = false
Functions ¶
func InitTracer ¶
func InitTracer(flag, service string) func()
func NewNamedSpan ¶
func SetTraceProvider ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.