Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartSpanWithCtx ¶
StartSpanWithCtx 生成上下文span skip The argument skip is the number of stack frames to ascend, with 0 identifying the caller of Caller
func ZipKinOpentracing ¶
func ZipKinOpentracing(serviceName string, exportType int64, endPointUrl string) gin.HandlerFunc
ZipKinOpentracing zipkin+openTracing serviceName 接入tracing 的服务名称 exportType 上报类型 1-实时上报 2-先转换为本地日志文件,暂时只支持实时上报 endPointUrl 链路日志上报地址,exportType为2时无任何作用
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.