Versions in this module Expand all Collapse all v0 v0.2.0 Nov 19, 2018 Changes in this version + var BuildDate = "undefined" + var Config = &tracerConfig + var GitCommit = "undefined" + var Version = "0.2.0" + func Close() error + func Enabled() bool + func Endpoints() []string + func Provider() string + func Register(name string, s Tracer, newFunc func(serviceName string) (Tracer, error)) + func SetLevel(lvl Level) + func SetStd(t Tracer) + func StartSpan(lvl Level, operationName string, opts ...opentracing.StartSpanOption) opentracing.Span + func StartSpanFromContext(ctx context.Context, lvl Level, operationName string, ...) (opentracing.Span, context.Context) + func Tracers() []string + type Level int32 + const APPLICATION_TRACE + const FRAMEWORK_TRACE + const FULL_TRACE + const HARDWARE_TRACE + const LIBRARY_TRACE + const MODEL_TRACE + const NO_TRACE + func LevelFromName(s string) Level + func LevelString(s string) (Level, error) + func LevelValues() []Level + func (i *Level) Scan(value interface{}) error + func (i *Level) UnmarshalJSON(data []byte) error + func (i *Level) UnmarshalText(text []byte) error + func (i *Level) UnmarshalYAML(unmarshal func(interface{}) error) error + func (i Level) IsALevel() bool + func (i Level) MarshalJSON() ([]byte, error) + func (i Level) MarshalText() ([]byte, error) + func (i Level) MarshalYAML() (interface{}, error) + func (i Level) String() string + func (i Level) Value() (driver.Value, error) + type Tracer interface + Endpoints func() []string + ID func() string + Init func(serviceName string) error + Level func() Level + Name func() string + SetLevel func(Level) + StartSpanFromContext func(ctx context.Context, operationName string, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context) + func FromName(s string) (Tracer, error) + func MustNew(serviceName string) Tracer + func New(serviceName string) (Tracer, error) + func NewFromName(serviceName, backendName string) (Tracer, error) + func Std() Tracer