opentelemetry-erlang-contrib icon indicating copy to clipboard operation
opentelemetry-erlang-contrib copied to clipboard

fix: Avoid ignoring Parent Span

Open linqueta opened this issue 6 months ago • 1 comments
trafficstars

As discussed on #508, Oban.JobHandler seems not to be setting the right span, ignoring the parent, causing a break in the traces for a flow. This fix allows the parent span to be included in the traces.

In case a parent span doesn't exist, it'll have the value :undefined, exactly what has been set by default in the current code.

linqueta avatar May 12 '25 22:05 linqueta