-
Notifications
You must be signed in to change notification settings - Fork 325
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
I am getting java.sql.SQLFeatureNotSupportedException and I can not see the query transaction. #1025
Comments
Hi @stLalo , thanks a lot for reporting this. In this case, apart from the verbose error logging, you should not have have any other side-effects on the application itself, it only affects what the agent is able to monitor at JDBC level. Can you please confirm that ? We recently had a very similar error with a JDBC driver that does not implement |
@SylvainJuge Indeed, there are no side-effects in the actual application, per se. It works fine and there are still some APM metrics sent to Elasticsearch. |
I found this on my logs today
|
Thanks for this update. Agent keeps track of which span is currently active on current thread, most of the time a span is kept active for it's whole duration (while SQL query is executing for example), and thus activated when starting span, and deactivated when ending span. However, if there is any bug in the agent plugins, like in your case an unexpected exception has been thrown while using JDBC instrumentation, this state is not consistent. In other words, it's very likely a side effect of the issue you've already reported. |
let's make sure we deactivate and end the span in a |
Describe the bug
I am running APM-agent-java as an agent to my jar file. I am using the JDBC Clickhouse driver to reach my Clickhouse Database. I work with Clojure to do SQL queries into my Database. To create a connection pool to my database I use Hikari CP. My service works perfectly and it reaches the database with no problem, however, the logs of my services are getting out of hand and creating noise in my Filebeat logs.
Steps to reproduce
Steps to reproduce the behavior:
jdbc:clickhouse//localhost:9999
Expected behavior
I am expecting to see the SQL query in the APM transaction and not seeing the logs about the SQL feature not supported
Debug logs
I know that using Clickhouse and an open-source adapter that could potentially cause this issue. However, is there a way to turn this off at least in the logs or fix it?
The text was updated successfully, but these errors were encountered: