jaeger

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 18 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 `yaml:"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