tracing

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TracerFuncMap = make(map[string]NewTracer)

TracerFuncMap saves NewTracer func key: impl name val: tracer new func

Functions

func Init

func Init() error

Init initialize the global tracer

func InstallTracer added in v0.8.1

func InstallTracer(name string, f NewTracer)

InstallTracer install new opentracing tracer

Types

type NewTracer added in v0.8.1

type NewTracer func(o map[string]string) (opentracing.Tracer, error)

NewTracer is the func to return global tracer

func GetTracerFunc added in v0.8.1

func GetTracerFunc(name string) (NewTracer, error)

GetTracerFunc get NewTracer

Jump to

Keyboard shortcuts

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