jaeger

package
v1.7.26 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: MIT Imports: 6 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"`
	TraceContextHeaderName string  `description:"set the header to use for the trace-id." export:"true"`
}

Config provides configuration settings for a jaeger tracer

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