Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ ServiceName: "default", Sampler: &config.SamplerConfig{ Type: "const", Param: 1, }, Reporter: &config.ReporterConfig{ LogSpans: false, BufferFlushInterval: 1 * time.Second, LocalAgentHostPort: fmt.Sprintf("%s:%d", jaeger.DefaultUDPSpanServerHost, jaeger.DefaultUDPSpanServerPort), }, EnableRpcMetrics: true, Headers: &jaeger.HeadersConfig{ TraceBaggageHeaderPrefix: jaeger.TraceBaggageHeaderPrefix, TraceContextHeaderName: jaeger.TraceContextHeaderName, }, PanicOnError: true, // contains filtered or unexported fields }
Functions ¶
func InitJaeger ¶
func InitJaeger(c Config) opentracing.Tracer
Types ¶
type Config ¶
type Config struct { ServiceName string Sampler *config.SamplerConfig Reporter *config.ReporterConfig Headers *jaeger.HeadersConfig EnableRpcMetrics bool PanicOnError bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.