Browser management refers to creating a browser application.
Creating a Browser Application
- In the navigation pane on the left, choose Browser > Management.
- Click Create Browser Application and set parameters.
Table 1 Parameter description
Browser application name. The value must be 8 to 20 characters starting with a letter. Only digits, letters, and hyphens (-) are allowed.
When creating a browser application, you can add it to an enabled enterprise project. This parameter is displayed only when you have enabled the enterprise project function.
Enterprise Project Management Service (EPS) provides a unified method to manage cloud resources and personnel by enterprise project. The default project is default.
For details about how to enable, create, and manage enterprise projects, see Enterprise Management User Guide.
- Click Generate. The system generates a dedicated instrument command for your application.
- Click Finish and Copy. The application is created and the command is automatically copied to the clipboard.
To access a page in a different domain, configure the following header on the target server: Access-Control-Allow-Methods: POST, OPTIONS, GET, PUTAccess-Control-Allow-Headers: X-Application-Id, Content-Type, X-EP-App-Id, X-App-Id, Pinpoint-TxType, Pinpoint-SrcResId, Pinpoint-TraceID, Pinpoint-pSpanID, Pinpoint-SpanID, X-Device-Id, X-Forwarded-For, X-Real-IpAccess-Control-Expose-Headers: Date, X-Dest-Resource-Id, Pinpoint-TxType, Pinpoint-SrcResId, X-App-Id, Pinpoint-CallChain, Zipkin-TraceID, Pinpoint-MonitorG, Timing-Allow-Origin
Inserting the Instrument Command
- After the application is created, the instrument command exists in the clipboard. If the command is lost, click View Instrument Command in the Operation column.
- In the View Instrument Command dialog box, click Finish and Copy to obtain the command again.
- Paste the instrument command to the first line of the <head> code block in the HTML file of the page you want to monitor, and then restart the application.
Then, update the HTML file to the server. After the update is complete, access the page. All operations performed on the page will be monitored by Application Performance Management (APM). Wait for a while because it takes a certain period of time to report and process data. Then, view the data of the previous operations on the Browser Summary page. You can also view the application topology on the Topology page.
To view monitoring data of a specific page instead of the entire site, create an application for the page and insert the dedicated instrument command.
On the Management page, you can also perform the operations described in the following table.
Go to the Topology page
Click View Topology in the Operation column to go to the Topology page and view call details.
Go to the Browser Summary page
Click View Summary in the Operation column to go to the Browser Summary page and view user experience details.