tracing

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobalTracer

func GlobalTracer() op.Tracer

func Init

func Init(ctx context.Context, transportURL, serviceName string) func()

func TraceClientInterceptor

func TraceClientInterceptor() grpc.UnaryClientInterceptor

func TraceServerInterceptor

func TraceServerInterceptor() grpc.UnaryServerInterceptor

func TraceToLogInjectorServerInterceptor

func TraceToLogInjectorServerInterceptor() grpc.UnaryServerInterceptor

Types

type JaegerLogger

type JaegerLogger struct {
	Log *log.Log
}

func (*JaegerLogger) Error

func (l *JaegerLogger) Error(msg string)

func (*JaegerLogger) Infof

func (l *JaegerLogger) Infof(msg string, args ...interface{})

Jump to

Keyboard shortcuts

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