How to Achieve Request-Based Span Tracing with Effect.withSpan in AdonisJS?

hi, i am trying use Effect.withSpan, and i am using adonisjs, i want to trace the request, as of now spans are fragmented for the same request id, how can i make those span fall under same request id? like nesting a span inside the same request id. see the image both are part of same request but its fragmented because i cannot run whole request under single effect. any idea how can i achive request based span tracing?
image.png
Was this page helpful?