Documentation ¶
Index ¶
- func ExtractTextMapCarrier(spanCtx opentracing.SpanContext) opentracing.TextMapCarrier
- func ExtractTextMapCarrierBytes(spanCtx opentracing.SpanContext) []byte
- func GetTextMapCarrierFromEvent(event es.Event) opentracing.TextMapCarrier
- func GetTextMapCarrierFromMetaData(ctx context.Context) opentracing.TextMapCarrier
- func InjectTextMapCarrier(spanCtx opentracing.SpanContext) (opentracing.TextMapCarrier, error)
- func InjectTextMapCarrierToGrpcMetaData(ctx context.Context, spanCtx opentracing.SpanContext) context.Context
- func NewJaegerTracer(jaegerConfig *Config) (opentracing.Tracer, io.Closer, error)
- func StartGrpcServerTracerSpan(ctx context.Context, operationName string) (context.Context, opentracing.Span)
- func StartHttpServerTracerSpan(c echo.Context, operationName string) (context.Context, opentracing.Span)
- func StartProjectionTracerSpan(ctx context.Context, operationName string, event es.Event) (context.Context, opentracing.Span)
- func TraceErr(span opentracing.Span, err error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTextMapCarrier ¶
func ExtractTextMapCarrier(spanCtx opentracing.SpanContext) opentracing.TextMapCarrier
func ExtractTextMapCarrierBytes ¶
func ExtractTextMapCarrierBytes(spanCtx opentracing.SpanContext) []byte
func InjectTextMapCarrier ¶
func InjectTextMapCarrier(spanCtx opentracing.SpanContext) (opentracing.TextMapCarrier, error)
func NewJaegerTracer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.