noop

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: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

Types

type Tracer

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

func (*Tracer) Close

func (*Tracer) Close() error

func (*Tracer) Endpoints

func (*Tracer) Endpoints() []string

func (*Tracer) ID

func (t *Tracer) ID() string

func (*Tracer) Init

func (*Tracer) Init(_ string) error

func (*Tracer) Level

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

func (*Tracer) Name

func (*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