Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client() middleware.Middleware
Client returns a new client middleware for OpenTelemetry.
func Server ¶
func Server() middleware.Middleware
Server returns a new server middleware for OpenTelemetry.
Types ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
Tracer is otel span tracer
type TracerInitializer ¶
type TracerInitializer struct{}
func InitTracing ¶
func InitTracing(conf *def.Configuration, logger log.Logger, local *config.LocalConfigure) (*TracerInitializer, error)
InitTracing 设置全局链路跟踪器
Source Files ¶
Click to show internal directories.
Click to hide internal directories.