Retrieve SpanCtx from trace_id

Hi everyone,

I would like to know if there is a way to retrieve a span context using a trace_id.

Context:
I’m using OpentelemetryOban to maintain the span created inside the perform function. However, this is not working as expected—the spans created within the perform function end up with a different trace_id.

Is there a way to propagate the trace at the moment the Oban job is inserted, so it can be captured correctly inside the perform function?

Thank you all!