zipkin_opentracing

package
v2.1.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartSpanWithCtx

func StartSpanWithCtx(ctx context.Context, skip int) (opentracing.Span, context.Context)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL