[go: up one dir, main page]

Skip to content

Draft: tracing: Migrate from OpenTracing to OpenTelemetry

What does this MR do and why?

tracing: Migrate from OpenTracing to OpenTelemetry

This major refactoring migrates our tracing infrastructure from the deprecated OpenTracing framework to the modern OpenTelemetry standard. OpenTelemetry has become the industry standard for observability and provides better interoperability with monitoring systems. The migration includes:

  • Replacing OpenTracing spans with OpenTelemetry equivalents
  • Updating span creation, attribute setting, and context propagation
  • Converting .Finish() calls to .End()
  • Modernizing the testing infrastructure to use OpenTelemetry exporters
  • Removing dependencies on Jaeger client libraries
  • Ensuring backward compatibility with existing tracing workflow

This change maintains our current observability capabilities while positioning us to take advantage of the richer feature set and broader ecosystem support of OpenTelemetry.

NOTE: This commit does break GITLAB_TRACING environment variable. Labkit's tracing utility configures the tracing environment using that varibale. Upcoming commits will address this issue.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading