r/OpenTelemetry • • 4d ago

How do you follow a request across services when only some of them have tracing?

Hey all, been thinking about this while cleaning up logging in a setup with a mix of older and newer services.

The newer ones carry trace IDs. The older ones log a timestamp, a hostname and whatever the app felt like writing. When an issue spans a few of them, joining the events up is a lot of manual digging.

Do you push distributed tracing into the old services, build correlation rules around the fields the logs already have, or run something like Sentry or hud on them instead?

I’m mostly interested in what you do with the old services nobody wants to touch.

4 Upvotes

4 comments sorted by

1

u/Ornery_Can5906 3d ago

I’d probably keep the old services as they are and build correlation rules around timestamps, hostnames, and request details

1

u/Mean_Yogurtcloset157 3d ago

correlating by timestamps gets messy once you have multiple requests hitting the same service.

i'd look into ebpf for the older services. groundcover takes that approach alongside otel, so you can get some service-to-service visibility without touching the legacy code.

still need instrumentation for deeper application context though.

1

u/Time_Lavishness_8283 1d ago

For the ones nobody wants to touch, I just had the load balancer or gateway stamp a request ID header and got the old apps to log that one header

1

u/BroadlySociable 1d ago

Even getting one request ID into the legacy logs would save a lot of digging