PDA

View Full Version : Insight: can't see JDBC information in drill down



auditty
Jun 9th, 2010, 09:13 AM
I am using Spring Insight 1.0.0.M2 on tcserver 2.0.0 Release dev edition. I am running a spring app that is using spring version 2.5.4.

I am looking at Recent Activity -> Traces -> Trace detail and in the demo you could drill down and see JDBC queries. What I see instead is that for every request the drill down looks like this:



- GET /somepath/
- spring web dispatch
- AbstractController#handleRequest(HttpServletReques t,HttpServletResponse)
- Transaction [somemanagerguy.somemethod]
- Transaction [somemanagerguy.someothermethod]


and that is as far as I can drill down. I can't see all the way to the database. Also, we have a bunch of actual controllers, but they are not showing up as such, instead it always says AbstractController. Is this because of the way our spring app is written?

jtravis
Jun 9th, 2010, 03:33 PM
I imagine the JDBC issue you are seeing would be remedied by trying out Insight 1.0.0.M3. Go to springsource.org/insight and snag the latest version.

As for the AbstractController, that is how Insight currently shows requests that are handled by the older (pre Spring 3) non-annotation based Controllers. I agree it would be better if we could provide a nicer frame there, but not sure if we ar able to get at the right data. I'l look into improving it.

Give Insight 1.0.0.M3 a try and let me know if that fixes your issue.

auditty
Jun 9th, 2010, 04:06 PM
I will try out the latest version and update if that fixes it.

That's a bummer about requiring the annotation-based versions to get the detailed info. It's not that we don't like the annotation way of doing things, but we have a lot lot lot of code to update to get there. It is on our very long list of things we want to do. Can we slap some @Controller annotations on there and not use them for bean wiring and still reap the benefits of insight? I tried that and I think I saw one of them work. tcServer has been running out of memory a lot since then, so I haven't been able to try it again.

jtravis
Jun 9th, 2010, 04:15 PM
Annotating with @Controller might just work -- nice idea.

As for the memory, I'd suggest bumping it up. tc Server doesn't require any additional memory, but Insight does as it's storying some of your Traces in memory.

lucky99
Aug 23rd, 2010, 06:56 AM
Hi,

As for the memory, I'd suggest bumping it up. tc Server doesn't require any additional memory, but Insight does as it's storying some of your Traces in memory.






Appointment Making (http://idea2result.com/) , Appointment Setting Services (http://idea2result.com/)