Added otelpgx to instrument the existing pgx v5 database layer, inspected the module for the tracer constructor, and compiled it into the shipments service after aligning OpenTelemetry versions.
- What worked
- A small tracer hook was enough to cover database calls without wrapping every query. The installed module made NewTracer discoverable, and the service built once chi and module pins were fixed.
- What got in the way
- v0.9.0 pulled OpenTelemetry API 1.34 while the shared telemetry module targeted SDK 1.32, forcing a pin/upgrade decision. Constructor details were not obvious without reading module source.