Help us shape the future of Go! Take the 2026 Go Developer Survey

jaeger

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: NCSA Imports: 22 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config = &jaegerConfig{
		done: make(chan struct{}),
	}
)

Functions

func New

func New(serviceName string, opts ...tracer.Option) (tracer.Tracer, error)

Types

type Tracer

type Tracer struct {
	opentracing.Tracer
	// contains filtered or unexported fields
}

func (*Tracer) Close

func (t *Tracer) Close() error

func (*Tracer) Endpoints

func (t *Tracer) Endpoints() []string

func (*Tracer) ID

func (t *Tracer) ID() string

func (*Tracer) Init

func (t *Tracer) Init(serviceName string, opts ...tracer.Option) error

func (*Tracer) Level

func (t *Tracer) Level() tracer.Level

func (*Tracer) Name

func (t *Tracer) Name() string

func (*Tracer) SetLevel

func (t *Tracer) SetLevel(lvl tracer.Level)

func (*Tracer) StartSpanFromContext

func (t *Tracer) StartSpanFromContext(ctx context.Context, operationName string, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context)

startSpanFromContextWithTracer is factored out for testing purposes.

Jump to

Keyboard shortcuts

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