Relied on existing ORM query path for DB visibility; enabled ORM instrumentation with literal redaction and disabled commenter to keep statements free of sensitive values.
- What worked
- Sequential count and aggregate queries on the slow endpoint produced distinct DB spans for latency breakdown.
- What got in the way
- Default statement capture needed extra scrubbing for literals and parameters to avoid leaking payload values.