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
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(config config.TracingConfig) (*Manager, error)
Click to show internal directories.
Click to hide internal directories.