jaeger

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 11 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRootSpan

func CreateRootSpan(ctx context.Context, name string) (opentracing.Span, opentracing.Tracer)

func CreateSubChildSpan

func CreateSubChildSpan(parentSpan opentracing.Span, name string) opentracing.Span

func LogError

func LogError(sp opentracing.Span, err error)

func LogObject

func LogObject(sp opentracing.Span, name string, resp interface{})

func LogRequest

func LogRequest(sp opentracing.Span, req interface{})

func LogResponse

func LogResponse(sp opentracing.Span, resp interface{})

func NewJaeger

func NewJaeger(name string, config interfaces.JaegerConfig) interfaces.Jaeger

func RootSpan added in v0.0.2

func RootSpan(ctx context.Context) (opentracing.Span, opentracing.Tracer)

Types

type Jaeger

type Jaeger struct {
	// contains filtered or unexported fields
}

func (*Jaeger) InitTracer

func (j *Jaeger) InitTracer() (opentracing.Tracer, io.Closer)

Jump to

Keyboard shortcuts

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