I have a requirement from a customer to monitor some framework classes. These framework classes do some business logic operations and are always slow. Since they are lot of methods in it and is not sure which methods to focus, they asked if we can start with main() of some 30 classes.
This is a java app, running on weblogic. These framework classes run as separate threads.
Is it ok to monitor the main() method?
Converted to a discussion and added on APM Dev
That's not a problem most times, although it's not likely main() you'll want to monitor.
You should talk with the developer team and ask them specifically about the important classes and methods for critical business flows.
Thanks Hiko for the response.
Customer is unable to choose key methods.These classes appear under automatic entry point detection however, we had to turn it off due to issues caused by the entry point feature.
Go to the autoprobe log. The information on the AEP is there for you to take.
Look at the wiki on how to turn AEP into frontends.