Documentation ¶
Index ¶
- func InitTracer(service, host, port string) (*sdktrace.TracerProvider, error)
- func Middleware(next http.Handler, name, operation string) http.Handler
- func NewContext(parent context.Context, t trace.Tracer) context.Context
- func NewSpanFromContext(ctx context.Context, spanName string) (context.Context, trace.Span)
- func TracerFromContext(ctx context.Context) trace.Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTracer ¶
func InitTracer(service, host, port string) (*sdktrace.TracerProvider, error)
func NewSpanFromContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.