jaeger

package
v2.0.0-alpha7+incompat... Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "jaeger"

Name sets the name of this tracer

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SamplingServerURL      string  `description:"Set the sampling server url." export:"false"`
	SamplingType           string  `description:"Set the sampling type." export:"true"`
	SamplingParam          float64 `description:"Set the sampling parameter." export:"true"`
	LocalAgentHostPort     string  `description:"Set jaeger-agent's host:port that the reporter will used." export:"false"`
	Gen128Bit              bool    `description:"Generate 128 bit span IDs." export:"true"`
	Propagation            string  `description:"Which propgation format to use (jaeger/b3)." export:"true"`
	TraceContextHeaderName string  `description:"Set the header to use for the trace-id." export:"true"`
}

Config provides configuration settings for a jaeger tracer

func (*Config) SetDefaults

func (c *Config) SetDefaults()

SetDefaults sets the default values.

func (*Config) Setup

func (c *Config) Setup(componentName string) (opentracing.Tracer, io.Closer, error)

Setup sets up the tracer

Jump to

Keyboard shortcuts

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