zipkin

package
v1.7.21 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 4 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 `description:"HTTP Endpoint to report traces to." export:"false"`
	SameSpan     bool   `description:"Use ZipKin SameSpan RPC style traces." export:"true"`
	ID128Bit     bool   `description:"Use ZipKin 128 bit root span IDs." export:"true"`
	Debug        bool   `description:"Enable Zipkin debug." export:"true"`
}

Config provides configuration settings for a zipkin tracer

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