{"library":"aws-xray-sdk-mysql","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"3.12.0","tags":["javascript","amazon","api","aws","mysql","xray","x-ray","x ray","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install aws-xray-sdk-mysql","imports":["import { captureMySQL } from 'aws-xray-sdk-mysql'","import AWSXRay from 'aws-xray-sdk-core'","const mysql = captureMySQL(require('mysql2'))"]},{"cmd":"yarn add aws-xray-sdk-mysql","imports":[]},{"cmd":"pnpm add aws-xray-sdk-mysql","imports":[]}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","github":"https://github.com/aws/aws-xray-sdk-node#master","docs":null,"changelog":null,"pypi":null,"npm":"aws-xray-sdk-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}