opentracing

package
Version: v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer() ot.Tracer

NewTracer returns a new AppOptics tracer.

Types

type Tracer

type Tracer struct {
	TrimUnsampledSpans bool
	// contains filtered or unexported fields
}

Tracer reports trace data to AppOptics.

func (*Tracer) Extract

func (t *Tracer) Extract(format interface{}, carrier interface{}) (ot.SpanContext, error)

Extract belongs to the Tracer interface.

func (*Tracer) Inject

func (t *Tracer) Inject(sc ot.SpanContext, format interface{}, carrier interface{}) error

Inject belongs to the Tracer interface.

func (*Tracer) StartSpan

func (t *Tracer) StartSpan(operationName string, opts ...ot.StartSpanOption) ot.Span

StartSpan belongs to the Tracer interface.

Jump to

Keyboard shortcuts

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