Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinMiddleware ¶
func GinMiddleware(ctx context.Context) gin.HandlerFunc
GinMiddleware is a gin middleware for initializing a trace via a HTTP request
func InitTracer ¶
func InitTracer(serverAddress, serviceName string)
InitTracer starts a global jaeger tracer
func SetError ¶
func SetError(span opentracing.Span, err error)
SetError sets the error tag to true, and logs the error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.