jaeger

package
v0.0.0-...-42841ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

func GetTextMapCarrierFromEvent(event behavior.IEvt) opentracing.TextMapCarrier

GetTextMapCarrierFromEvent loads the Metadata from a behavior.IEvt and returns it as as

func GetTextMapCarrierFromMetaData

func GetTextMapCarrierFromMetaData(ctx context.Context) opentracing.TextMapCarrier

func InjectTextMapCarrier

func InjectTextMapCarrier(spanCtx opentracing.SpanContext) (opentracing.TextMapCarrier, error)

func InjectTextMapCarrierToGrpcMetaData

func InjectTextMapCarrierToGrpcMetaData(ctx context.Context, spanCtx opentracing.SpanContext) context.Context

func NewJaegerTracer

func NewJaegerTracer(tracerConfig sdk_config.IJaegerConfig) (opentracing.Tracer, io.Closer, error)

func StartGrpcServerTracerSpan

func StartGrpcServerTracerSpan(ctx context.Context, operationName string) (context.Context, opentracing.Span)

func StartHttpServerTracerSpan

func StartHttpServerTracerSpan(c echo.Context, operationName string) (context.Context, opentracing.Span)

StartHttpServerTracerSpan starts a tracer span for an HttpServer.

func StartProjectionTracerSpan

func StartProjectionTracerSpan(ctx context.Context, operationName string, event behavior.IEvt) (context.Context, opentracing.Span)

func TraceErr

func TraceErr(span opentracing.Span, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL