Documentation ¶
Index ¶
- func ContextWithTracer(parent context.Context, tracer trace.Tracer) context.Context
- func InitTracer(ctx context.Context, serviceName, serviceVer string) (shutdowns []func(ctx context.Context) error)
- func SpanFromContext(ctx context.Context) trace.Span
- func StartContextSpan(ctx context.Context, name string, opts ...trace.SpanStartOption) context.Context
- func StartContextWithSpan(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span)
- func Tracer(ctx context.Context) trace.Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithTracer ¶
func InitTracer ¶
func StartContextSpan ¶
func StartContextWithSpan ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.