Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TraceIDFromContext ¶
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 ¶
type OpenTracer struct {
// contains filtered or unexported fields
}
func NewOpenTracer ¶
func NewOpenTracer(name string) *OpenTracer
func (*OpenTracer) Init ¶
func (tracer *OpenTracer) Init()
func (*OpenTracer) WithJaeger ¶
func (tracer *OpenTracer) WithJaeger(endpoint string) *OpenTracer
func (*OpenTracer) WithOption ¶
func (tracer *OpenTracer) WithOption(options ...trace.TracerProviderOption) *OpenTracer
func (*OpenTracer) WithSampler ¶
func (tracer *OpenTracer) WithSampler() *OpenTracer
Click to show internal directories.
Click to hide internal directories.