Can I use OpenTelemetry to create multi-workflow Spans?

I want to measure end-to-end time of some operations that scan multiple Temporal workflows. I am thinking of using OpenTelemetry for the same. I am able to get a basic OpenTelemetry integration going for one workflow of mine based on the example provided by Temporal: https://github.com/temporalio/samples-typescript/tree/main/interceptors-opentelemetry

Is it possible to extend this approach to create a “Span” that lasts across multiple workflows so that I can measure the end-to-end time? Is there a working example of this somewhere?

I’m looking at features described on this page, like Span Context and Context Propagation: OpenTelemetry Distributed Tracing [complete guide]. Am I on the right track?

1 Like

Any update?
I’m facing the same issue.
Thanks