← All insightsCI/CD

Integrating OpenTelemetry into your CI/CD pipeline

Nir Geier, CodeWizard · 23 April 2026 · 3 min read · Intermediate

Getting OpenTelemetry into your pipeline is where it starts paying off - automated, repeatable and reviewed. Here is a working integration and the habits that keep it reliable.

A working pipeline snippet

Validate Collector config in CI.

yaml
- run: otelcol validate --config otel.yaml

Do this

  • Send everything to a Collector, then fan out to backends
  • Use tail-based sampling for traces to keep the interesting ones
  • Propagate context across services with W3C tracecontext

Avoid this

  • Sampling misconfigured, so you keep everything and blow up cost
  • Mixing SDK versions and losing context propagation
  • Exporting directly from apps instead of through a Collector

Want senior help putting OpenTelemetry to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.

Like where this is going?

Get hands-on help from the engineers who write these posts.

Book a free consult