Documentation
¶
Index ¶
Constants ¶
View Source
const ( ALWAYS = "always" NEVER = "never" RATIO = "ratio" )
Sampling Strategy
View Source
const ( JAEGER = "jaeger" OTLP = "otlp" )
Exporter end
View Source
const ServiceName = "dubbo-go-pixiu"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtocolName ¶
type ProtocolName string
Different Listeners listen to different protocol requests, and create the corresponding tracer
const HTTPProtocol ProtocolName = "HTTP"
type TraceDriver ¶
type TraceDriver struct {
trace.TracerProvider
}
Tracers corresponding to the listening protocol are maintained by the holder
func InitDriver ¶
func InitDriver(bs *model.Bootstrap) *TraceDriver
InitDriver loading BootStrap configuration about trace
type TraceDriverManager ¶
type TraceDriverManager struct {
// contains filtered or unexported fields
}
TraceDriverManager Driver maintains all tracers and the provider.
func CreateDefaultTraceDriverManager ¶
func CreateDefaultTraceDriverManager(bs *model.Bootstrap) *TraceDriverManager
func (*TraceDriverManager) GetDriver ¶
func (manager *TraceDriverManager) GetDriver() *TraceDriver
Click to show internal directories.
Click to hide internal directories.