jaeger

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "jaeger"

Variables

This section is empty.

Functions

func GetSpanID

func GetSpanID(ctx opentracing.SpanContext) (string, string)

GetSpanID 从SpanContext中获取tracerID和spanID

func New

func New(cfg Cfg) (err error)

Types

type Cfg

type Cfg struct {
	*jaegerCfg.Configuration
	Logger    *lumberjack.Logger
	BatchSize int32 `yaml:"batch_size"`
}

func DefaultCfg

func DefaultCfg() Cfg

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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