Documentation ¶
Index ¶
Constants ¶
View Source
const ( CONFIG_TYPE_SIMPLE = iota CONFIG_TYPE_ETCD )
View Source
const ( ENV_JAEGER_AGENT_HOST = "JAEGER_AGENT_HOST" ENV_JAEGER_AGENT_PORT = "JAEGER_AGENT_PORT" )
View Source
const ( JAEGER_DEBUG_HEADER = "trace-debug-id" JAEGER_BAGGAGE_HEADER = "trace-baggage" TRACE_CONTEXT_HEADER_NAME = "banyu-trace-id" TRACE_BAGGAGE_HEADER_PREFIX = "banyuctx-" )
View Source
const (
TRACER_TYPE_JAEGER = "jaeger"
)
Variables ¶
This section is empty.
Functions ¶
func CloseTracer ¶
func CloseTracer() error
func InitDefaultTracer ¶
func InitTracer ¶
Types ¶
type Configurator ¶
func NewConfigurator ¶
func NewConfigurator(configType int) (Configurator, error)
func NewEtcdConfigurator ¶
func NewEtcdConfigurator() Configurator
func NewSimpleConfigurator ¶
func NewSimpleConfigurator() Configurator
type EtcdConfig ¶
type EtcdConfig struct {
// contains filtered or unexported fields
}
func (*EtcdConfig) GetConfig ¶
func (m *EtcdConfig) GetConfig(serviceName string) *Config
type SimpleConfig ¶
type SimpleConfig struct { }
func (*SimpleConfig) GetConfig ¶
func (m *SimpleConfig) GetConfig(serviceName string) *Config
Click to show internal directories.
Click to hide internal directories.