Documentation ¶
Index ¶
- func ChildOf(parentCtx opentracing.SpanContext) opentracing.SpanReference
- func ClientInterceptor(tracer opentracing.Tracer) grpc.UnaryClientInterceptor
- func CloseQuietly(closer io.Closer)
- func GlobalClientInterceptor() grpc.DialOption
- func GlobalServerInterceptor() grpc.ServerOption
- func GlobalTracer() opentracing.Tracer
- func NewGlobalTracer(service string) (io.Closer, error)
- func NewTracer(service string) (opentracing.Tracer, io.Closer, error)
- func ServerInterceptor(tracer opentracing.Tracer) grpc.UnaryServerInterceptor
- func SetGlobalTracer(tracer opentracing.Tracer)
- func StartSpan(operationName string, opts ...opentracing.StartSpanOption) opentracing.Span
- func StartSpanFromContext(ctx context.Context, operationName string, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChildOf ¶
func ChildOf(parentCtx opentracing.SpanContext) opentracing.SpanReference
func ClientInterceptor ¶
func ClientInterceptor(tracer opentracing.Tracer) grpc.UnaryClientInterceptor
func CloseQuietly ¶
func GlobalClientInterceptor ¶
func GlobalClientInterceptor() grpc.DialOption
func GlobalServerInterceptor ¶
func GlobalServerInterceptor() grpc.ServerOption
func GlobalTracer ¶
func GlobalTracer() opentracing.Tracer
func ServerInterceptor ¶
func ServerInterceptor(tracer opentracing.Tracer) grpc.UnaryServerInterceptor
func SetGlobalTracer ¶
func SetGlobalTracer(tracer opentracing.Tracer)
func StartSpan ¶
func StartSpan( operationName string, opts ...opentracing.StartSpanOption, ) opentracing.Span
func StartSpanFromContext ¶
func StartSpanFromContext( ctx context.Context, operationName string, opts ...opentracing.StartSpanOption, ) (opentracing.Span, context.Context)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.