tracing

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerSpanWrapper

func HandlerSpanWrapper(operation string) func(inner handler.Func) handler.Func

HandlerSpanWrapper is a handler.Func with opentracing

func MiddlewareSpanWrapper

func MiddlewareSpanWrapper(operation string) func(inner middleware.Func) middleware.Func

MiddlewareSpanWrapper is a middleware.Func with opentracing

func NewRoundTripperWithOpenTrancing

func NewRoundTripperWithOpenTrancing() *roundTripper

NewRoundTripperWithOpenTrancing creates a new roundTripper with OpenTracing

func SpanLoggerFactory

func SpanLoggerFactory(logger *zap.Logger) log.Factory

SpanLoggerFactory is a wrapper over zap.Logger with OpenTracing

func SpanWrapper

func SpanWrapper(inner http.Handler) http.Handler

SpanWrapper is a http.Handler with opentracing

Types

This section is empty.

Jump to

Keyboard shortcuts

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