Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TraceIDFromContext ¶ added in v1.2.0
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance generate the uuid for per goroutine, use to mark user requests.
func (*Instance) Get ¶
Get returns the uuid for this goroutine, it will generate a unique string if it doesn't exist'
type OpenTracer ¶ added in v1.2.0
type OpenTracer struct {
// contains filtered or unexported fields
}
func NewOpenTracer ¶ added in v1.2.0
func NewOpenTracer(name string) *OpenTracer
func (*OpenTracer) Init ¶ added in v1.2.0
func (tracer *OpenTracer) Init()
func (*OpenTracer) WithJaeger ¶ added in v1.2.0
func (tracer *OpenTracer) WithJaeger(endpoint string) *OpenTracer
func (*OpenTracer) WithOption ¶ added in v1.2.0
func (tracer *OpenTracer) WithOption(options ...trace.TracerProviderOption) *OpenTracer
func (*OpenTracer) WithSampler ¶ added in v1.2.0
func (tracer *OpenTracer) WithSampler() *OpenTracer
Click to show internal directories.
Click to hide internal directories.