zipkin

package
v2.0.0-beta1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "zipkin"

Name sets the name of this tracer.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HTTPEndpoint string  `` /* 138-byte string literal not displayed */
	SameSpan     bool    `` /* 143-byte string literal not displayed */
	ID128Bit     bool    `` /* 139-byte string literal not displayed */
	Debug        bool    `description:"Enable Zipkin debug." json:"debug,omitempty" toml:"debug,omitempty" yaml:"debug,omitempty" export:"true"`
	SampleRate   float64 `` /* 162-byte string literal not displayed */
}

Config provides configuration settings for a zipkin tracer.

func (*Config) SetDefaults

func (c *Config) SetDefaults()

SetDefaults sets the default values.

func (*Config) Setup

func (c *Config) Setup(serviceName 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