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

Easier way to enable including SQL query in subsegment with #257

Closed
swanandvk opened this issue Jan 29, 2021 · 1 comment
Closed

Easier way to enable including SQL query in subsegment with #257

swanandvk opened this issue Jan 29, 2021 · 1 comment

Comments

@swanandvk
Copy link

Using aws-xray-recorder-sdk-sql By default it does not include sql statement in traces , if there is any easier way to enable it
eg:
TracingConnection.decorate(dataSource.connection).includeQuery(true)

Or is there any way present currently which can be used generically with the SDK apart from manually adding the subsegment

@willarmiros
Copy link
Contributor

This behavior is not yet supported, but we'd be open to a PR that does capture the SQL query string when possible on an opt-in basis. I'm going to close this as a duplicate of #28, which requests the same thing.

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

No branches or pull requests

2 participants