ejaeger

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ServiceName      string
	Sampler          *jconfig.SamplerConfig
	Reporter         *jconfig.ReporterConfig
	Headers          *jaeger.HeadersConfig
	EnableRPCMetrics bool

	PanicOnError bool
	// contains filtered or unexported fields
}

Config ...

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig ...

func Load

func Load(key string) *Config

Load 加载配置key

func (*Config) Build

func (config *Config) Build(options ...jconfig.Option) opentracing.Tracer

Build ...

func (*Config) Stop

func (config *Config) Stop() error

Stop 停止

func (*Config) WithOption

func (config *Config) WithOption(options ...jconfig.Option) *Config

WithOption ...

func (*Config) WithTag

func (config *Config) WithTag(tags ...opentracing.Tag) *Config

WithTag ...

Jump to

Keyboard shortcuts

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