 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	AppName = "trace"
)
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TRACE_PROVIDER ¶
type TRACE_PROVIDER string
const (
	TRACE_PROVIDER_OTLP TRACE_PROVIDER = "otlp"
)
    type Trace ¶ added in v2.0.3
type Trace struct {
	ioc.ObjectImpl
	Enable   bool           `json:"enable" yaml:"enable" toml:"enable" env:"ENABLE"`
	Provider TRACE_PROVIDER `toml:"provider" json:"provider" yaml:"provider" env:"PROVIDER"`
	Endpoint string         `toml:"endpoint" json:"endpoint" yaml:"endpoint" env:"ENDPOINT"`
	Insecure bool           `toml:"insecure" json:"insecure" yaml:"insecure" env:"INSECURE"`
	// contains filtered or unexported fields
}
    func (*Trace) Init ¶ added in v2.0.3
otlp go sdk 使用方法: https://opentelemetry.io/docs/languages/go/exporters/ jaeger 端口说明: https://www.jaegertracing.io/docs/1.55/getting-started/#all-in-one
 Click to show internal directories. 
   Click to hide internal directories.