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

Fix DB2 jdbc connection instrumentation #3313

Merged
merged 3 commits into from
Sep 13, 2023

Conversation

JonasKunz
Copy link
Contributor

@JonasKunz JonasKunz commented Sep 7, 2023

What does this PR do?

It seems like DB2 JDBC-connection classes are sometimes obfuscated and therefor do not contain "Connection" in their name. Our JDBC instrumentation does not trace statemented if the SQL is not available, which is only available if the connection was also instrumented.

Checklist

  • This is a bugfix

@JonasKunz JonasKunz marked this pull request as ready for review September 13, 2023 13:48
@github-actions
Copy link

/test

@JonasKunz
Copy link
Contributor Author

Fix has been tested and verified by the user.

@JonasKunz JonasKunz requested a review from a team September 13, 2023 13:49
@JonasKunz JonasKunz merged commit 90b1430 into elastic:main Sep 13, 2023
14 of 20 checks passed
@JonasKunz JonasKunz deleted the db2-connection-instr-fix branch September 13, 2023 14:51
schikin pushed a commit to schikin/apm-agent-java that referenced this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants