Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJaegerTracer ¶
Types ¶
type JaegerConfig ¶
type JaegerConfig struct { ServiceName string `env:"JAEGER_SERVICE_NAME" validate:"required"` AgentHost string `env:"JAEGER_AGENT_HOST" envDefault:"localhost" validate:"required"` AgentPort string `env:"JAEGER_AGENT_PORT" envDefault:"6831" validate:"required"` Enabled bool `env:"JAEGER_ENABLED" envDefault:"true"` LogSpans bool `env:"JAEGER_REPORTER_LOG_SPANS" envDefault:"false" ` SamplerType string `env:"JAEGER_SAMPLER_TYPE" envDefault:"const" validate:"required"` SamplerParam float64 `env:"JAEGER_SAMPLER_PARAM" envDefault:"1" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.