AWS X-Ray SDK for MySQL
JSON →Automatically captures trace data from MySQL queries for AWS X-Ray. Current stable version 3.12.0, follows AWS SDK release cadence with minor updates. Key differentiator: wraps the mysql2/mysql Node.js driver to record query information, errors, and response data in X-Ray subsegments under a parent segment. Supports both automatic (cls-hooked) and manual segment management modes. Requires aws-xray-sdk-core as a peer dependency. Ships TypeScript definitions.
Resources
packageaws-xray-sdk-mysql ↗
API endpoints
full doc /v1/registry/aws-xray-sdk-mysql