jaeger

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() func()

Init init jaeger tracer

Types

type Config

type Config struct {
	ServiceName      string
	EnableRPCMetrics bool

	SamplerType  string
	SamplerParam float64

	AgentAddr                   string
	ReporterLogSpans            bool
	ReporterBufferFlushInterval time.Duration

	TraceBaggageHeaderPrefix string
	TraceContextHeaderName   string

	MaxTagValueLength int
}

Config

type JaegerConfig

type JaegerConfig struct {
	ServiceName      string
	Sampler          *jconfig.SamplerConfig
	Reporter         *jconfig.ReporterConfig
	EnableRPCMetrics bool
	// contains filtered or unexported fields
}

JaegerConfig

func (*JaegerConfig) WithOption

func (jc *JaegerConfig) WithOption(options ...jconfig.Option) *JaegerConfig

WithOption apply jaeger option

Jump to

Keyboard shortcuts

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