The goal in this part of the workshop is to show that inspectIT enables easy data exchange between operators and developers.
Until now we have learned how to setup inspectIT and configure instrumentation.
The inspectIT stores most of the monitoring data in memory to improve performance and scalability on the CMR and to provide faster access to the data for the client. However, sometimes it is necessary to persist the important data to disk and have it for future reference and easy data exchange. To handle this inspectIT provides the complete storage functionality.
Usually when performance problem is located, the performance data that shows such a problem should be exchanged between developers, operators and/or performance team. In inspectIT we can save performance data to the storage(s) that can be easily manipulated. The first thing do to is locate the data to save. For this exercise, we would like to save traces that we found during a performance analysis into one storage.
Open the InvocationSequences of the api-controller agent and select several traces that should be stored. For istances all traces above 1000 ms reponse time. Once you selected them execute the Right click -> Save to Server action. The Save Data to Storage wizard will open asking if we want to create a new or use existing storage to write data to. We will select the creation of new storage first. Note that storage is always initially created on the CMR repository. Give storage name and description (optional). Be careful about the Auto-finalize storage option, if this option is selected the new storage will be finalized after the save making it read-only. If you plan to add traces from several tries, make sure you leave this option unchecked.
Once all the data you want is in the storage you created you can export this data from the Storage Manager View. Make sure that the storage is finalized and thus set in the read-only mode. Export is possible only for the finalized storages. During the Export wizard you can use labeling to provide additional information of the exported storage.
The .itsd file that you created can easily be sent to anyone having inspectIT.
Importing of .itsd files is also possible via Storage Manager View. Simply select the file to import and location. Location can be CMR repository or your local RCP app. If you imported the storage locally it will be visible in the Storage Manager View if the Show available: Local is selected. You can open the storage and check if all the data you originally saved is correct.
Enough with instrumentation and sharing traces with others. Let's establish monitoring for our Petclinic application in section Setup Monitoring.