func Sampler(sampler jaeger.Sampler) Option {
	return func(c *Options) {
		c.sampler = sampler
	}
}
Sampler can be provided explicitly to override the configuration.
package config
import (
	opentracing "github.com/opentracing/opentracing-go"
	"github.com/uber/jaeger-lib/metrics"
	"github.com/uber/jaeger-client-go"
)
type Option func(c *Options)
type Options struct {
	metrics             metrics.Factory
	logger              jaeger.Logger
	reporter            jaeger.Reporter
	sampler             jaeger.Sampler
	contribObservers    []jaeger.ContribObserver
	observers           []jaeger.Observer
	gen128Bit           bool
	zipkinSharedRPCSpan bool
	maxTagValueLength   int
	tags                []opentracing.Tag
	injectors           map[interface{}]jaeger.Injector
	extractors          map[interface{}]jaeger.Extractor
}
func Metrics(factory metrics.Factory) Option {
	return func(c *Options) {
		c.metrics = factory
	}
}
func Logger(logger jaeger.Logger) Option {
	return func(c *Options) {
		c.logger = logger
	}
}
func Reporter(reporter jaeger.Reporter) Option {
	return func(c *Options) {
		c.reporter = reporter
	}
}