Preparing for system design interviews?  Try bugzed.com →

AWS X-Ray SDK for Postgres

JSON →
library 3.12.0 ·javascript
verified Jun 5, 2026

aws-xray-sdk-postgres is the official AWS X-Ray patcher for Postgres (pg) Node.js driver, version 3.12.0. It automatically records SQL queries, request/response data, and errors as subsegments under the X-Ray trace. Compatible with Postgres 6.1.0+. Requires aws-xray-sdk-core as a peer dependency. Supports both automatic (via cls-hooked) and manual segment tracking. Ships TypeScript definitions. Maintenance is tied to the SDK core; release cadence is periodic alongside core updates. Key differentiator: seamless integration with AWS X-Ray for tracing database calls with minimal code changes.

total hits 18
actors 4 distinct systems
last hit 17d ago ByteDance
GPTBot
3
ByteDance
2
Search engines
6
Humans
6

top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇲🇽 Mexico · 🇫🇮 Finland