Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultOpenTracer is what anything using an opentracing.Tracer will access: DefaultOpenTracer opentracing.Tracer = new(opentracing.NoopTracer) )
Functions ¶
This section is empty.
Types ¶
type MicroMetadataReaderWriter ¶
MicroMetadataReaderWriter satisfies both the opentracing.TextMapReader and opentracing.TextMapWriter interfaces.
func (MicroMetadataReaderWriter) ForeachKey ¶
func (w MicroMetadataReaderWriter) ForeachKey(handler func(key, val string) error) error
func (MicroMetadataReaderWriter) Set ¶
func (w MicroMetadataReaderWriter) Set(key, val string)
type Option ¶
type Option func(o *Options)
func WithSamplingRate ¶
WithSamplingRate configures the sampling rate:
func WithServiceName ¶
WithServiceName configures the name of this service:
func WithTraceReporterAddress ¶
WithTraceReporterAddress configures the address of the trace reporter:
Click to show internal directories.
Click to hide internal directories.