Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalTracer *zipkin.Tracer
GlobalTracer is zipkin Tracer
View Source
var OpentracingInf map[string][]string
OpentracingInf saving opentracing information that incoming request header usually contain "x-request-id", "x-b3-traceid", "x-b3-spanid", "x-b3-parentspanid", "x-b3-sampled"... for having installed envoy kubernetes pods, only transmit the header to next pod is enough
View Source
var ZipkinSpan zipkin.Span
ZipkinSpan is span if the span-context that extract from incoming request header is not nil, ZipkinSpan will be child span of incoming else will be root span
Functions ¶
func InitZipkinTracer ¶ added in v0.4.0
InitZipkinTracer is for initilize zipkin global Tracer function
func ZipkinServe ¶ added in v0.4.0
Types ¶
Click to show internal directories.
Click to hide internal directories.