Click the Start a free trial link to start a 30-day SaaS trial of our product and join our community as a trial customer. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
I am setting up AppD on my fairly-vanilla Spring app, and it's not showing any DB calls on any of my transactions:
I checked the Bytecode transformer logs, and it's happily finding the classes:
[main] 11 Apr 2018 21:39:00,175 INFO - Applying method interceptor exit.jdbc.Connect at org/postgresql/Driver.connect ((Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;) id:597
But no DB calls are detected in any of my traces, neither reads nor writes.
Anything obvious I could be missing?
Solved! Go to Solution.
The fact that you see the Connect instrumentation applied is encouraging! Do you also see instrumentation applied for callable statements, prepared statements etc.?
If not, you may be using a version of the Postgres jdbc driver that is not covered by the out of the box agent configuration. In this case, you can configure the implementation classes to to picked up using the relevant jdbc-* agent properties.
If it happens that you're using v9.4+ of the Postgres driver, the settings should be:
If this isn't the issue, then another possibility is that the jdbc activity is happening on a thread that has not been tracked by the agent. You can tell if this is the case using the uninstrumented code detection feature, and configure the missing thread handoffs in the agent's fork-config configuration, or the thread-correlation-classes agent property.