tracer

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, tracer TracerBackend) (func() error, error)

func TagStrToMap

func TagStrToMap(tagStr string) map[string]string

TagStrToMap converts a user-passed string of tags of the form `key1=val1,key2=val2` to a map.

func TraceID

func TraceID(ctx context.Context) (string, error)

Types

type TracerBackend added in v0.8.0

type TracerBackend int
const (
	Windmill TracerBackend = iota
	Lightstep
	Jaeger
)

func StringToTracerBackend added in v0.8.0

func StringToTracerBackend(s string) (TracerBackend, error)

Jump to

Keyboard shortcuts

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