Video in progress

How do you roll out OpenTelemetry as the single standard across dozens of teams on different technologies?

First at the platform level: the OTel Collector, shared semantic conventions and W3C trace context. Then for each language the path of least effort: in Java, an agent or the Spring Boot starter, with standard resource attributes. Gradually, starting with the paths where the most expensive incidents come from.

📖 Answer

The technical part isn't that hard. The hard part is convincing 30 teams to do the same thing.

I go in this order:

  1. The propagation standard. Every service must read and forward the W3C traceparent header. If you have a mixed environment with old B3 headers, use a propagator that supports both during the transition. Even if a service records nothing, if it forwards the header the trace doesn't break. This is the first and cheapest step.

  2. The collector layer. Applications send to the OTel Collector, not straight to the backend (Jaeger, Tempo, a vendor). Changing the backend later doesn't touch the applications. Sampling, PII scrubbing and adding attributes are centralized in the collector.

  3. The easiest path for Java. Options: the OpenTelemetry Java agent (no code changes, instruments many libraries automatically) or Spring Boot 3's Micrometer Tracing + the OTel bridge. In Spring I often choose the Micrometer path, because metrics and traces come from the same observation. The main thing is that the company picks one path and bakes it into a starter library or a base image.

  4. Mandatory attributes. service.name, service.version, deployment.environment, the team name. Without these there are traces, but nobody knows "whose" they are.

  5. Showing the value. Showing that a single complex incident was solved in 10 minutes with a trace is stronger than any order. I start by connecting the services on the most important business paths.

Risks: personal data (phone, card) ending up in spans as attributes, which needs scrubbing rules in the collector; too many hand-created spans, which means cost and noise. A manual span only for genuinely important business operations.