Documentation ¶
Index ¶
- Variables
- func New(serviceName string) (tracer.Tracer, error)
- type Tracer
- func (t *Tracer) Close() error
- func (t *Tracer) Endpoints() []string
- func (t *Tracer) ID() string
- func (t *Tracer) Init(serviceName string) error
- func (t *Tracer) Level() tracer.Level
- func (t *Tracer) Name() string
- func (t *Tracer) SetLevel(lvl tracer.Level)
- func (t *Tracer) StartSpanFromContext(ctx context.Context, operationName string, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config = &jaegerConfig{ done: make(chan struct{}), } )
Functions ¶
Types ¶
type Tracer ¶
type Tracer struct { opentracing.Tracer // contains filtered or unexported fields }
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.
Click to show internal directories.
Click to hide internal directories.