jaeger

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 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()

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
}

type JaegerConfig

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

Config ...

func (*JaegerConfig) WithOption

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

Jump to

Keyboard shortcuts

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