EdgeScript enables you to run JavaScript code on Alibaba Cloud CDN points of presence (POPs) to implement custom request handling logic. You can query EdgeScript monitoring data to check whether scripts are executed as expected and ensure the performance of custom logic.
For more information, see EdgeScript overview.
Overview
You can go to the EdgeScript page to query the status of scripts. You can query the monitoring data of scripts and errors within the previous three months. The time range of each query can be up to one month.
Monitoring item | Description |
Status | The status of each script. If you configure a script for an accelerated domain name, the script can be in one of the following states after a client request arrives at a POP:
|
Exception | An error occurred during script execution. In this case, an error code is returned. Error codes and descriptions:
|
Procedure
Log on to the Alibaba Cloud CDN console.
In the left-side navigation pane, choose .
On the EdgeScript page, click the Status or Exception tab.
Select a domain name, specify a time range to query, and then click Search.
The system returns scripts that are in one of the preceding states or error codes based on the specified query conditions.
Related API operations
API | Description |
Queries the execution status of scripts in EdgeScript. | |
Queries the execution errors of scripts in EdgeScript. |