-
Notifications
You must be signed in to change notification settings - Fork 98
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
Opt-in support to collect SQL queries. #283
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @stnor! Unfortunately you're only able to see the SQL query in that tab today.
aws-xray-recorder-sdk-sql/src/main/java/com/amazonaws/xray/sql/TracingStatement.java
Outdated
Show resolved
Hide resolved
…/TracingStatement.java Changing name of system property to AWS XRAY standard. Co-authored-by: William Armiros <54150514+willarmiros@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for missing the follow up on this, but code LGTM! Can you please include a blurb in the readme as well? https://github.com/aws/aws-xray-sdk-java#intercept-jdbc-based-sql-queries
Updated the readme, I hope it looks alright. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Issue #, if available:
#28
Description of changes:
Opt-in to collect SQL via Environment or System property.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.