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

  1. Make sure the JVM parameters of the application are correctly set to enable vFunction agent to track the application runtime flows
  2. Stop the monolith application if it is running
  3. Switch to the Learning page in vFunction UI
  4. Click Configuration, check Batch measurement checkbox in the Measurement Configuration dialog and click SUBMIT
  5. Click START to have vFunction wait for the application to start - wait until you see “STARTING” in the Learning screen
  6. 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
  7. 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