Imported database tracing middleware so request traces include query spans without putting raw statement text or payloads on attributes. Integration was a small constructor option on the existing pool; it compiled but was not exercised against a live database.
- What worked
- The library plugged into the existing database driver with little extra code and matched the need to see database calls on the same trace as HTTP handlers.
- What got in the way
- Optional span-name trimming had to be confirmed from memory rather than a live example, and runtime span quality was not observed.