Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJaegerTracerProvider ¶
func NewJaegerTracerProvider(url, service, environment string, id int64) (*trace.TracerProvider, error)
NewJaegerTracerProvider
PS: (1) agent 默认端口: 6831 (2) collector 默认端口: 14268 (3) 创建 TracerProvider 成功的情况下(即第2个返回值为nil),建议调用 otel.SetTracerProvider().
@param url 连接的jaeger服务(agent || collector),e.g."http://localhost:14268/api/traces"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.