Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDefault = Config{ ServiceName: "default", Sampler: &jconfig.SamplerConfig{ Type: "const", Param: 1, }, Reporter: &jconfig.ReporterConfig{ LogSpans: false, BufferFlushInterval: 1 * time.Second, LocalAgentHostPort: "127.0.0.1:6831", }, EnableRPCMetrics: true, Headers: &jaeger.HeadersConfig{ TraceBaggageHeaderPrefix: "ctx-", TraceContextHeaderName: "headerName", }, PanicOnError: true, // contains filtered or unexported fields }
Functions ¶
func InitJaeger ¶
func InitJaeger(config Config) opentracing.Tracer
Types ¶
type Config ¶
type Config struct { ServiceName string Sampler *jconfig.SamplerConfig Reporter *jconfig.ReporterConfig Headers *jaeger.HeadersConfig EnableRPCMetrics bool PanicOnError bool // contains filtered or unexported fields }
Config of jaeger
Click to show internal directories.
Click to hide internal directories.