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

Opt-in support to collect SQL queries. #283

Merged
merged 5 commits into from
Aug 4, 2021
Merged

Conversation

stnor
Copy link
Contributor

@stnor stnor commented May 1, 2021

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.

@stnor
Copy link
Contributor Author

stnor commented May 1, 2021

Is there support for displaying the SQL in the trace directly? Right now it's only available in SQL tab in the subsegment.
Screenshot 2021-05-01 at 21 39 33

Copy link
Contributor

@willarmiros willarmiros left a 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.

stnor and others added 3 commits May 10, 2021 23:50
…/TracingStatement.java


Changing name of system property to AWS XRAY standard.

Co-authored-by: William Armiros <54150514+willarmiros@users.noreply.github.com>
Copy link
Contributor

@willarmiros willarmiros left a 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

@stnor
Copy link
Contributor Author

stnor commented Aug 4, 2021

Updated the readme, I hope it looks alright.

Copy link
Contributor

@willarmiros willarmiros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@willarmiros willarmiros merged commit 297a0bf into aws:master Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants