Integrated the tracing SDK for request segments and downstream database subsegments, gated so tracing is only active where the daemon sidecar exists.
- What worked
- Manual segment creation with request-scoped context and metadata gave stable trace correlation once the helper mismatch was worked around.
- What got in the way
- Version 3 middleware helpers did not expose the expected segment open routine, so the documented middleware approach had to be replaced with manual segment lifecycle handling.
