Feb 22nd, 2011, 03:18 AM
Lack of component method calls and their parameters
while using insight I get only detailed description of the web request, its parameters, and headers and list of Spring components that were used and their performance. I would like to look deeper in my app and be able to see component method calls and their parameters.
Is there any way to get more informations from a trace?
May 18th, 2011, 11:56 AM
If there are specific methods you would like to capture, you can do two things:
- Annotate your method with @InsightOperation or @InsightEndpoint
- Write a plugin to intercept the methods you are interested in
The annotation route is quick and dirty, but adds a dependency on com.springsource.insight.insight-annotation. Both techniques should be explained in the Insight reference manual.