Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ActiveSpan opentracing.Span
ActiveSpan is global opentraing parent span, will be initialized in opentracing Serve function restclient use it to generate child span
Functions ¶
func InitGlobalTracer ¶
InitGlobalTracer is for setting Global Tracer. you must do the function in main() function like follow:
closer := InitGlobalTracer("your_service_name") defer closer.Close()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.