The API Publisher Web application provides several statistical dashboards as follows:
- Usage of all APIs and usage of all APIs per creator.
- Average response times.
- Usage of an API per subscriber.
- Usage of an API per subscriber per version.
- Number of subscriptions per API.
Apart from the number of subscriptions per API, all other statistical dashboards require that an instance of the WSO2 Business Activity Monitor 2.0 is installed. For instructions on setting up an instance of the WSO2 Business Activity Monitor in order to view statistics, refer to section Monitoring Using WSO2 BAM.
Once the prerequisites are satisfied, follow the instructions below to view statistics through the API Publisher.
- First, trigger some activities via the API gateway as explained in section Browser-Based REST Clients and wait a few seconds.
- Log in to the API Publisher as a user with
creator
orpublisher
role assigned.- In publisher role, you are able to see all statistics under the APIs menu.
- In creator role, in addition to all statistics, you also see specific stats for the APIs you created.
Both
creator
andpublisher
roles can view API-level usage and subscription statistics by clicking on a selected API and referring to its Versions and Users tabs. Several examples of usage and performance statistics are given below:
Also, few examples of API-level statistics are shown below:
You can also see specific statistics for API subscribers from the Users tab. For example,