tracing

package
v0.0.0-...-1392edb Latest Latest
Warning

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

Go to latest
Published: May 11, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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