Versions in this module Expand all Collapse all v1 v1.5.5 Oct 25, 2023 Changes in this version + func Close(ctx context.Context) error + func Init(exporter trace.SpanExporter, res *resource.Resource, fractions ...float64) + func InitWithConfig(appName string, appEnv string, appVersion string, jaegerAgentHost string, ...) + func NewConsoleExporter() (sdkTrace.SpanExporter, error) + func NewFileExporter(filename string) (sdkTrace.SpanExporter, *os.File, error) + func NewJaegerAgentExporter(host string, port string) (sdkTrace.SpanExporter, error) + func NewJaegerExporter(url string, opts ...JaegerOption) (sdkTrace.SpanExporter, error) + func NewResource(opts ...ResourceOption) *resource.Resource + func NewSpan(ctx context.Context, spanName string, tags map[string]interface{}) (context.Context, trace.Span) + func SetTraceName(name string) + type JaegerOption func(*jaegerOptions) + func WithPassword(password string) JaegerOption + func WithUsername(username string) JaegerOption + type ResourceOption interface + func WithAttributes(attributes map[string]string) ResourceOption + func WithEnvironment(environment string) ResourceOption + func WithServiceName(name string) ResourceOption + func WithServiceVersion(version string) ResourceOption