The Statistics Dashboard displays the total number of APIs in a workspace, the total number of API calls, and the total resource consumption, helping you understand API usage from a global perspective. You can also view charts for a single API, including HTTP status codes and DataService Studio error codes.
Go to the Statistics Dashboard page
-
Log on to the DataWorks console. In the target region, click in the left-side navigation pane. Select a workspace from the drop-down list and click Go to DataService Studio.
-
In the top navigation bar, click Service Management. The Manage APIs page appears by default.
-
In the left-side navigation pane, click to open the Statistics Dashboard.
View the overall statistics of APIs
-
View the total number of APIs
The Total APIs section shows the total number of APIs in the current workspace over a specific period, including published and unpublished APIs.
-
View the total number of API calls and the total resource consumption
The Overall Statistics section shows the total number of API calls and total resource consumption for all APIs in the current workspace over a specific period.
The maximum statistical period is 7 days.
-
View the distribution of HTTP status codes
The Distribution of HTTP Status Codes section shows the HTTP status codes returned by published APIs in the current workspace over a specific period. Each sector in the pie chart represents a different status code type. Click a sector to view the corresponding status codes.
NoteCommon HTTP status codes include 2XX, 4XX, and 5XX. For more information, see Error codes.
The maximum statistical period for API gateway status codes is 7 days.
-
View the distribution of DataService Studio error codes
The Distribution of DataService Studio Error Codes section shows the error codes returned by all APIs in the current workspace over a specific period. Each sector in the pie chart represents a different error code type. Click a sector to view the corresponding error codes. For more information, see Error codes.
The maximum statistical period for DataService Studio error codes is 7 days.
View the allocation of resources in the previous 24 hours
The Resource Allocation section shows the trend in the number of API calls over the previous 24 hours.

View the rankings of APIs
-
The Top 10 APIs with Highest Error Rate Yesterday table lists the top 10 APIs with the highest error rates over the last 24 hours. The table includes columns for API ID, API name, Number of requests, Request failure rate, and DataService Studio resource group.
-
The Top 10 Frequently Called APIs Yesterday table ranks the most frequently called APIs or applications from the last 24 hours. You can switch between the API and APP views. The API view displays API ID, API name, Number of requests, Execution duration (ms), and Average latency (ms). The APP view displays APP ID, Application name, Workspace, Number of requests, Execution duration (ms), and Average latency (ms).