Documentation ¶ Index ¶ func Init(cfg *Config) (err error) func StartSpan(ctx context.Context, name string, attributes map[string]string) (context.Context, trace.Span) type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init(cfg *Config) (err error) func StartSpan ¶ func StartSpan(ctx context.Context, name string, attributes map[string]string) (context.Context, trace.Span) Types ¶ type Config ¶ type Config struct { // please provide JaegerCollectorURL if jaeger is used UseJaeger bool JaegerCollectorURL string Environment string ServiceName string } Source Files ¶ View all Source files tracer.go Click to show internal directories. Click to hide internal directories.