ejaeger

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 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
	Addr         string
	Fraction     float64
	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(ops ...Option) trace.TracerProvider

Build ...

func (*Config) Stop

func (config *Config) Stop() error

Stop 停止

func (*Config) WithTracerProviderOption added in v0.8.0

func (config *Config) WithTracerProviderOption(options ...tracesdk.TracerProviderOption) *Config

WithTracerProviderOption ...

type Option added in v0.8.0

type Option func(c *Config)

Option 可选项

Jump to

Keyboard shortcuts

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