Versions in this module Expand all Collapse all v1 v1.0.0 Dec 8, 2024 Changes in this version + func InitTracerProvider(serviceName, endpoint string, options ...Option) (*tracesdk.TracerProvider, error) + func SetSpanError(ctx context.Context, err error) + type Config struct + CollectorEndpoint string + LocalAgentHostPort string + ServiceName string + type Option func(c *Options) + type Options struct + SamplingRatio float64