otelKit

package
v2.2.44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL