Monitoring EdgeScript execution helps you verify the correctness and optimize the performance of your custom logic.
For more information about EdgeScript, see EdgeScript overview.
How it works
On the EdgeScript monitoring page, you can query the execution status of your scripts. The page provides data from the last three months, and you can query up to one month of data at a time.
|
Monitoring item |
Description |
|
Status |
The execution status indicates what happens when a client request reaches a point of presence (POP) for a domain name where EdgeScript is configured. Each request results in one of the following four statuses:
|
|
Exception |
Indicates that an exception occurred during script execution, returning one of the following error codes:
|
Procedure
-
Log on to the CDN console.
-
In the left-side navigation pane, choose Monitoring & Usage Analytics > EdgeScript.
-
On the EdgeScript page, click the Status or Exception tab.
-
Select a domain name and a time range, and then click Search.
The page displays data for the four statuses or the exception error codes, depending on your selections.
API reference
|
API |
Description |
|
Queries the execution status of EdgeScript rules. |
|
|
Queries exceptions during EdgeScript rule execution. |