Documentation ¶
Index ¶
- func ExtractTextMapCarrier(spanCtx opentracing.SpanContext) opentracing.TextMapCarrier
- func ExtractTextMapCarrierBytes(spanCtx opentracing.SpanContext) []byte
- func GetTextMapCarrierFromEvent(event behavior.IEvt) 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(tracerConfig sdk_config.IJaegerConfig) (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 behavior.IEvt) (context.Context, opentracing.Span)
- func TraceErr(span opentracing.Span, err error)
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 GetTextMapCarrierFromEvent ¶
GetTextMapCarrierFromEvent loads the Metadata from a behavior.IEvt and returns it as as
func InjectTextMapCarrier ¶
func InjectTextMapCarrier(spanCtx opentracing.SpanContext) (opentracing.TextMapCarrier, error)
func NewJaegerTracer ¶
func NewJaegerTracer(tracerConfig sdk_config.IJaegerConfig) (opentracing.Tracer, io.Closer, error)
func StartHttpServerTracerSpan ¶
func StartHttpServerTracerSpan(c echo.Context, operationName string) (context.Context, opentracing.Span)
StartHttpServerTracerSpan starts a tracer span for an HttpServer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.