ejaeger

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 9 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
	AgentHost          string // agent host
	AgentPort          string // agent port
	JaegerEndpointType string // type: agent,collector
	CollectorEndpoint  string // collector endpoint
	CollectorUser      string // collector user
	CollectorPassword  string // collector password
	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