-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for tracing requests in X-Ray SDK for Node.js with sequelize and mysql2 #275
Comments
Hi @eistrati, As a workaround, you can manually create a subsegment around your const sqlObj = {
database_type: 'MySQL',
database_version: '1.0.0'
};
var sub = AWSXRay.getSegment().addNewSubsegment('mysql2');
// Make query
sub.addSqlData(sqlObj);
sub.close(); |
@willarmiros thank you! any thoughts and/or timelines on when |
Unfortunately we cannot provide timelines for future features. It is in our backlog however and I will update this issue once it gets prioritized. |
Apologies! I did not realize that there was in fact an issue already open to support Although there appear to be some issues with var mysql2 = AWSXRay.captureMySQL(require('mysql2')); I'll be closing this as a duplicate of #6 (and #271 for sequelize). Please follow up over there with any issues you experience. |
We have tried and failed to replicate the workaround for sequelize and mysql2, similar to the one provided for sequelize and postgresql described in this issue: #271
Can you please help with providing support for sequelize and mysql2? Any workarounds available as of today?
The text was updated successfully, but these errors were encountered: