Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitJaeger ¶
func InitJaeger(serviceName, endpoint string) (tp *trace.TracerProvider, err error)
InitJaeger initializes and registers jaeger to global TracerProvider.
The output parameter `tp` is used for waiting exported trace spans to be uploaded, which is useful if your program is ending and you do not want to lose recent spans.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.