jaeger

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

* * @Author: myxy99 <myxy99@foxmail.com> * @Date: 2021/1/2 14:49

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ServiceName      string                `mapStructure:"service_name"`
	Sampler          *jCfg.SamplerConfig   `mapStructure:"sampler"`
	Reporter         *jCfg.ReporterConfig  `mapStructure:"reporter"`
	Headers          *jaeger.HeadersConfig `mapStructure:"headers"`
	EnableRPCMetrics bool                  `mapStructure:"enable_rpc_metrics"`
	Tags             []opentracing.Tag     `mapStructure:"tags"`
	Options          []jCfg.Option         `mapStructure:"options"`
	PanicOnError     bool                  `mapStructure:"panic_on_error"`
}

func DefaultConfig

func DefaultConfig() *Config

func RawConfig

func RawConfig(key string) *Config

func (*Config) Build

func (config *Config) Build() opentracing.Tracer

func (*Config) WithOption

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

func (*Config) WithTag

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

Jump to

Keyboard shortcuts

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