Documentation ¶
Index ¶
- func CreateCollector(collectorType, connectString, topic string) zipkin.Collector
- func CreateSpan(r *http.Request, cfg *config.Tracing) opentracing.Span
- func CreateTracer(recorder zipkin.SpanRecorder, samplerRate float64, traceID128Bit bool) opentracing.Tracer
- func InitializeTracer(traceConfig *config.Tracing)
- func InjectHeaders(span opentracing.Span, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCollector ¶
func CreateSpan ¶
func CreateTracer ¶
func CreateTracer(recorder zipkin.SpanRecorder, samplerRate float64, traceID128Bit bool) opentracing.Tracer
func InitializeTracer ¶
InitializeTracer initializes OpenTracing support if Tracing.TracingEnabled is set in the config.
func InjectHeaders ¶
func InjectHeaders(span opentracing.Span, req *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.