opentracing

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartSpanFromContext

func StartSpanFromContext(ctx context.Context, tracer Tracer, operation, method string, opts ...otr.StartSpanOption) (context.Context, otr.Span)

StartSpanFromContext for opentracing.

Types

type Configurator

type Configurator struct {
	// contains filtered or unexported fields
}

Configurator for opentracing.

func NewConfigurator

func NewConfigurator(configurator configurator.Configurator, tracer Tracer) *Configurator

NewProvider for opentracing.

func (*Configurator) GetConfig

func (c *Configurator) GetConfig(ctx context.Context, app, ver, env, cluster, cmd string) ([]byte, error)

GetConfig for opentracing.

func (*Configurator) String

func (c *Configurator) String() string

String for opentracing.

type Tracer

type Tracer otr.Tracer

Tracer for opentracing.

func NewTracer

func NewTracer(lc fx.Lifecycle, cfg *opentracing.Config) (Tracer, error)

NewTracer for opentracing.

Jump to

Keyboard shortcuts

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