jeremydaly / data-api-client

A "DocumentClient" for the Amazon Aurora Serverless Data API
MIT License
444 stars 63 forks source link

Support AWS XRay #93

Open seawatts opened 3 years ago

seawatts commented 3 years ago

It would be nice to be able to pass in our own instance of the AWS.RDS client so that we can wrap it with the aws-xray-sdk

You can find the docs for wrapping AWS clients here: https://www.npmjs.com/package/aws-xray-sdk-core#user-content-capture-all-outgoing-aws-requests

rpawlaszek commented 2 years ago

Hi @seawatts @jeremydaly

I created a PR to address this issue. It not only enables the introduction of X-Ray, but decouples the library from any, specific aws-sdk version so the user can choose which version of the library they want to use.