tracing

package
v0.0.0-...-8a5cab9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(cfg TracerConfig) opentracing.Tracer

NewTracer via TracerConfig, returns opentracing.Tracer

Types

type Provider

type Provider int

TracerProvider enum

const (
	// Jaeger provider
	Jaeger Provider = iota
	// Zipkin provider
	Zipkin
)

type TracerConfig

type TracerConfig struct {
	Provider    Provider
	ServiceName string
	Host        string
	Port        string
}

TracerConfig for tracer

Jump to

Keyboard shortcuts

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