package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: May 9, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
InitTracer ... 初始化 tracer, 可以自定义 endpoint, service_name, ratio_based
type Option func(tr *tracingConfig)
WithEndpoint ... 自定义 jaeger 入口
WithRatioBased ... 设置采样比率
WithServiceName ...自定义上报服务名
type TracingConf interface {
GetEndpoint() string
GetCustomName() string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.