tracing

package
v0.0.0-...-f99419a Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled() bool

Types

type Config

type Config struct {
	Enable    bool   `kong:"help='Enable tracing',name='tracing',default=false,env='TRACING_ENABLE'"`
	ZipkinURL string `kong:"help='Zipkin Collector URL',default='http://localhost:9411/api/v2/spans',env='ZIPKIN_URL'"`
}

Config holds zipkin tracing configuration.

type Tracer

type Tracer interface {
	Stop()
}

func New

func New(conf Config) (Tracer, error)

Jump to

Keyboard shortcuts

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