Documentation ¶
Overview ¶
Package tracing wraps opentracing api
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAdapterFactory ¶
func RegisterAdapterFactory(name string, factory AdapterFactory)
Types ¶
type Adapter ¶
type Adapter interface { NewTracer(service string, cfg config.TracingConfig) (opentracing.Tracer, error) Close() error }
func GetAdapter ¶
TODO: future, adapter factory functions should allow passing config
type AdapterFactory ¶
type AdapterFactory func() Adapter
Click to show internal directories.
Click to hide internal directories.