opencloud icon indicating copy to clipboard operation
opencloud copied to clipboard

"go.opentelemetry.io/otel/exporters/jaeger" is deprecated

Open butonic opened this issue 1 month ago • 1 comments

OpenTelemetry dropped support for Jaeger exporter in July 2023. Jaeger officially accepts and recommends using OTLP. Use [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp] or [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc] instead.

butonic avatar Nov 25 '25 08:11 butonic

We could log a deprecation warning, but the function has no logger, which makes it hard to log in case jaeger is configured...

// GetTraceProvider returns a configured open-telemetry trace provider.
func GetTraceProvider(endpoint, collector, serviceName, traceType string) (*sdktrace.TracerProvider, error) {

urgh and the docs are wrong:

	Type      string `yaml:"type" env:"OC_TRACING_TYPE;ACTIVITYLOG_TRACING_TYPE" desc:"The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now." introductionVersion:"1.0.0"`

I vote for ripping jaeger out since we are increasing the major already

butonic avatar Nov 25 '25 08:11 butonic