AppDynamics Application Intelligence Platform
One reason for slow load times is inefficient code that uses a lot of CPU time. In a single-threaded model, such as Node.js, one slow process forces other processes to wait.
You can monitor Node.js processes using lists of process snapshots to identify which processes have high CPU times. From the list you can select and examine process snapshots of slow processes to identify exactly which functions in your code are blocking the CPU.
A process snapshot describes an instance of a CPU process on an instrumented node.js node. It generates a process-wide call graph for a CPU process over a configurable time range. Process snapshots are independent of any running business transactions. Process snapshots persist for 14 days, unless you archive them in which case they are available forever.
You can monitor process snapshots at the tier level or the node level.
The agent collects process snapshots for the configured duration.
To access the process snapshots list:
For each process snapshot the list displays the time the process started, the process's execution time in milliseconds, and the tier and node in which the process executed.
Click the Exe Time column and then toggle the direction to sort the snapshots in descending order by execution time. The processes with the slowest CPU times will be at the top of the list. These are the snapshots you will want to examine.
You can filter the process snapshot list to display only the snapshots that you are interested in. You can filter by execution time, whether the snapshot is archived, and the GUID of the request. If you access the list from the tier dashboard, you can also filter by node.
Use the More Actions menu to select one or more process snapshots in the list and perform the following actions on them.
From the process snapshots list, double-click the process snapshot that you want to view.
A process snapshot contain the following tabs:
The total processing time displayed for the root element in the call graph includes the CPU idle time.