...
- 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 (BAM) 2.0.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 BAM, see Monitoring using WSO2 BAM. Once the prerequisites are satisfiedOnce BAM is set up, 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.
Note If you do not follow step 1, you will still see sample statistics on API Publisher after accessing the menu items described in step 2. We have added these sample graphs only for your reference. To see real runtime statistics specific to your server, you must configure BAM and trigger some events to generate statistics.
Log in to the API Publisher (https://localhost:9443/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.
Depending on the role, the statistical menu items change as described below:
- If you are logged in as a
publisher
, the All Statistics menu is visible in the left panel of the API Publisher Web interface. - If you are logged in as a
creator
, in addition to the All Statistics menu, you also see Statistics menu in the left panel of the API Publisher Web interface. The latter shows stats specific to the APIs created by you. - 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:
...