-
Notifications
You must be signed in to change notification settings - Fork 323
further SQL parsing improvement #676
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
Comments
Implemented in version 1.7.0. |
Oh, sorry that was a fact I wanted to add: I am already using version 1.7.0, sorry. |
Ahh, thanks. Will look into it then. |
Are those all the cases you found out not working as expected, or are the additional ones? |
🤦♂ Wrong button.. |
We have an Oracle 12c DB running and Elastic Stack running on version 6.5.4. I upgraded today to apm-agent 1.7.0 and the following SQL namings works fine: UPDATE, SELECT, DELETE. The following SQLs are not parsed correctly: { call TRACE(CONTEXT=>?, WHO=>?, WHAT=>?, TARGET=>?, TEXT=>?) } |
/cc @axw |
Thanks @wolframhaussig. I'm not personally familiar with Oracle's dialect, having MERGE doesn't look too difficult to handle. |
@axw Here is the description: https://docs.oracle.com/cd/E11882_01/java.112/e16548/getsta.htm#JJDBC28075 |
The curly braces seem to be not oracle specific but JDBC specific: https://db.apache.org/derby/docs/10.0/manuals/reference/sqlj230.html A JDBC escape clause begins and ends with curly braces. A keyword always follows the opening curly brace: {keyword }" |
Thanks for the pointers @wolframhaussig! |
Is your feature request related to a problem? Please describe.
We would like to further improve the Span naming for JDBC spans
Describe the solution you'd like
For the "{call demoSp(?, ?)}" I would like to get "call demoSp" as Span name.
For "Merge into testTable ..." I would like to get at least "Merge testTable", maybe it is even possible to get "Merge testTable with table2" as span name?
The text was updated successfully, but these errors were encountered: