zipkin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: NCSA Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func New

func New(serviceName string) (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) 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