The discovery run is the first run of an application after the agent injection that covers all or most of the application functions. AppMon requires it to be aware of all classes that the application uses, for further analysis and instrumentation. No special configuration needed, just run your application.
It is necessary for sensors that AppMon defines on interfaces or super classes. During discovery run:
- AppMon discovers the internal structure of the application, such as which classes derive from interfaces like
java.sql.Statement. This is required to execute the use cases of the monitored application.
- AppMon places Sensors on specific classes of the inheritance structure during application restart, because Hot Sensor Placement is not available for all sensors.