Versions in this module Expand all Collapse all v0 v0.0.1 Apr 23, 2023 Changes in this version + const DefaultTracerProvider + const SpanIDLogKeyName + const TraceIdLogKeyName + var ErrTracerProviderBuildFailed = errors.New("Failed building TracerProvider") + var ErrTracerProviderNotFound = errors.New("TracerProvider could not be found") + func ConfigureTracerProvider(config Config) (trace.TracerProvider, error) + func EchoFirstTraceNodeInfo(propagator propagation.TextMapPropagator) func(http.Handler) http.Handler + func ExtractTraceInfo(ctx context.Context) (string, string, bool) + func GetMuxOptions(tr Tracing) []otelmux.Option + func NewTransport(tr Tracing) *otelhttp.Transport + type Config struct + AppName string + Endpoint string + Provider string + Providers map[string]ProviderConstructor + SkipExport bool + type ProviderConstructor func(config Config) (trace.TracerProvider, error) + type TraceConfig struct + TraceProvider trace.TracerProvider + type Tracing struct + Propagator propagation.TextMapPropagator + TracerProvider trace.TracerProvider + func InitTracing(c Config, appName string) (Tracing, error)