Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UseProfileDefault is added path to http router for pprof on default for Config.UseProfile UseProfileDefault = true // UseProfileFieldName field name in configuration file or ENV name for value of Config.UseProfile UseProfileFieldName = "trace.pprof" // JaegerDSNFieldName field name in configuration file or ENV name for value of Config.JaegerDSN JaegerDSNFieldName = "trace.jaeger.dsn" )
Variables ¶
This section is empty.
Functions ¶
func NewTrace ¶
NewTrace creating and configuration instance of traceSdk.TracerProvider for send trace to Jaeger and return instance of trace.Tracer for application name
func WithConfigurator ¶
func WithConfigurator(configurator configurator.Configurator, config *Config, appConfig *app.Config, informer log.Informer) (trace.Tracer, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.