Skip to main content

Browser framework analysis

An SPA switches screens with the router after the first page load, so page load metrics alone make it hard to locate slow screen transitions or component errors. The Framework analysis menu aggregates data collected by framework plugins by route template and shows slow router changes, screens where errors occurred, and components that took long to render on per-framework screens. Supports React, Next.js, Vue, Nuxt, and Angular.

Data for the Framework analysis menu is collected only after you install a framework plugin. If no plugin is installed or the selected period has no data, a guide message is displayed on the screen.

Opening the screen​

In a browser project of the WhaTap monitoring service, select the Framework analysis menu. The screen of the framework with the most recent data opens. If no framework is detected, the screen of the last viewed framework opens. On first access, the React screen opens.

Select the following items in the option bar at the top of the screen.

ItemDescription
FrameworkFramework to analyze. Frameworks without data are marked as no data next to their name
VersionApplication version specified with the browser agent version option. Displayed in descending order of count
Comparison versionVersion to compare with the base version. When selected, the overview changes to a comparison table
FilterFilters by environment, page group, and framework version

When you select a comparison version, the Overview tab displays only the items that got worse than the base version, in order of change rate. Six items are compared: average router change time, ratio of router changes over 1 second, error ratio per router change, failure ratio per router change, ratio of renders over 16 ms, and action failure rate. If the version option is not specified in the browser agent settings, you cannot select a version or comparison version, and a guide message is displayed on the screen.

Tabs​

All five frameworks have the same tab names. Only the columns and panels inside the tabs differ by framework.

TabDescription
OverviewRouter change count, average router change time, count of router changes over 1 second, error count, and trends
ErrorsReact and Next.js: unhandled errors by page group, handled errors by Error Boundary, errors by component. Vue and Nuxt: errors by component only. Angular: errors by NG error code only
Router changesReact: router changes by page group with loader, action, and chunk load errors, loader table, Suspense table. Next.js: route tree and Suspense table. Vue, Nuxt, and Angular: router changes by page group (per-phase average) and router change failure table
RenderingRender count and count of renders over 16 ms by component and by page group. Angular: change detection time by page group
StoreExecution time, call count, and failure count by store action
Server renderingNext.js and Nuxt only. Next.js: hydration time and hydration errors by page group, requests by type. Nuxt: SSR errors, hydration mismatch locations, useAsyncData and useFetch times

Whether router change, rendering, and store data is collected depends on plugin settings. If a table is empty, check the measurement settings for the framework in Framework plugins.

Detail screens​

Select Display Detail from a table row menu to view the trend and related data of a single target on one screen. Detail screens are not shown in the tab bar. They open with the tab in the Tab column of the table below selected.

DetailTabDescription
Page group detailsRouter changesRouter change time distribution (500 ms, 1 s, 3 s thresholds), trend, router change list, errors, rendering, and store actions for one page group. Hydration is also displayed for Next.js and Nuxt
Component detailsRenderingRendering trend and rendering by page group. Not available for Angular
Store action detailsStoreTime, call, and failure trends and calls by page group
Error detailsErrorsError trend and message and stack of recent errors
NG error detailsErrorsAngular only. Error trend by NG error code and errors by page group

Recent errors and the router change list show only recent entries. Check earlier data with View log.

(other) row​

An (other) row in a table contains data grouped without a name because the number of tag combinations exceeded the aggregation limit. The screen also shows the share of the (other) row. In on-premises environments, you can raise the limit in the collection server settings. For details, see Framework plugins.