Skip to content
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

Removing Segment/Subsugment Name invalid characters. #31

Closed
harveyslash opened this issue Mar 5, 2018 · 4 comments
Closed

Removing Segment/Subsugment Name invalid characters. #31

harveyslash opened this issue Mar 5, 2018 · 4 comments
Labels

Comments

@harveyslash
Copy link

When using Mysql with flask sqlalchemy, i get this log:
Removing Segment/Subsugment Name invalid characters.

My SQLALCHEMY URI IS :

mysql://user:pass@url.something.ap-south-1.rds.amazonaws.com:3306/semiprod?charset=utf8mb4

Even if I remove the ?charset, it seems to be automatically added by sqlalchemy

@haotianw465 haotianw465 added the bug label Mar 5, 2018
@haotianw465
Copy link
Contributor

Hi, could you share the final subsegment name representing your SQL transaction? We will take a look soon.

@therealryanbonham
Copy link
Contributor

PR to resolve this issue. #32

If you want to get this fix before a release is made you can add the following to your pip requirements.txt file.

git+https://github.com/therealryanbonham/aws-xray-sdk-python.git@sqlalchemy_namefix_issue_31#egg=aws-xray-sdk

@harveyslash
Copy link
Author

@therealryanbonham's solves it

@haotianw465
Copy link
Contributor

Close in favor of #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants