Data Collection during App Init/Startup and Shutdown
If you want to have vFunction learning cover the flows during application startup and shutdown then you should perform Learning in Batch measurement mode
- Make sure the JVM parameters of the application are correctly set to enable vFunction agent to track the application runtime flows
- Stop the monolith application if it is running
- Switch to the Learning page in vFunction UI
- Click Configuration, check Batch measurement checkbox in the Measurement Configuration dialog and click SUBMIT
- Click START to have vFunction wait for the application to start - wait until you see “STARTING” in the Learning screen
- Start the application - you should see STARTING change to START and after some time the counters functions and resources should go up. Note that vFunction may slow the app startup
- If you want to measure shutdown flows, shutdown the application. You can also run normal business flows to add data to the measurement.
Note: You can merge measurements to combine the startup/shutdown flows with other runtime flows taken by non-batch measurements