Documentation ¶
Index ¶
Constants ¶
View Source
const ( SamplerTypeConst = "const" SamplerTypeAdaptive = "adaptive" SamplerTypeProbability = "probability" SamplerTypeRateLimit = "rate-limit" SamplerTypeUnknown = "unknown" )
View Source
const ( ReporterTypeNull = "null" ReporterTypeRemote = "remote" ReporterTypeLogging = "logging" ReporterTypeUnknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TracerFactory ¶
type TracerFactory struct {
// contains filtered or unexported fields
}
func NewTracerFactory ¶
func NewTracerFactory(serviceName string, logger *zap.Logger) *TracerFactory
func (*TracerFactory) CreateTracer ¶
func (t *TracerFactory) CreateTracer() (opentracing.Tracer, io.Closer)
func (*TracerFactory) InitFromViper ¶
func (t *TracerFactory) InitFromViper(v *viper.Viper)
Click to show internal directories.
Click to hide internal directories.