package
2.29.1+incompatible
Repository: https://github.com/luogreen/jaeger-client-go.git
Documentation: pkg.go.dev

# Functions

ContribObserver can be registered with the Tracer to receive notifications about new spans.
Extractor registers an Extractor with the given format.
FromEnv uses environment variables to set the tracer's Configuration.
Gen128Bit specifies whether to generate 128bit trace IDs.
Injector registers an Injector with the given format.
Logger can be provided to log Reporter errors, as well as to log spans if Reporter.LogSpans is set to true.
MaxTagValueLength can be provided to override the default max tag value length.
Metrics creates an Option that initializes Metrics in the tracer, which is used to emit statistics about spans.
NoDebugFlagOnForcedSampling can be used to decide whether debug flag will be set or not when calling span.setSamplingPriority to force sample a span.
Observer can be registered with the Tracer to receive notifications about new Spans.
PoolSpans specifies whether to pool spans.
Reporter can be provided explicitly to override the configuration.
Sampler can be provided explicitly to override the configuration.
Tag creates an option that adds a tracer-level tag.
WithRandomNumber supplies a random number generator function to the Tracer used to generate trace and span IDs.
ZipkinSharedRPCSpan creates an option that enables sharing span ID between client and server spans a la zipkin.

# Structs

BaggageRestrictionsConfig configures the baggage restrictions manager which can be used to whitelist certain baggage keys.
Configuration configures and creates Jaeger Tracer.
Options control behavior of the client.
ReporterConfig configures the reporter.
SamplerConfig allows initializing a non-default sampler.
ThrottlerConfig configures the throttler which can be used to throttle the rate at which the client may send debug requests.

# Type aliases

Option is a function that sets some option on the client.