This documentation is for WSO2 API Manager 1.7.0 View documentation for the latest release.
Viewing API Statistics - API Manager 1.7.0 - WSO2 Documentation

All docs This doc
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The API Publisher Web application provides several statistical dashboards. Apart from the number of subscriptions per API, all other statistical dashboards require that an instance of WSO2 Business Activity Monitor (version 2.3.0 or above) is installed. For instructions on setting up BAM, see Publishing API Runtime Statistics. Once BAM is set up, follow the instructions below to view statistics through the API Publisher.

  1. First, trigger some activities via the API gateway as explained in section Browser-Based REST Clients and wait a few seconds.

    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.

  2. Log in to the API Publisher (https://localhost:9443/publisher) as a user with creator or publisher role assigned. 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 and publisher 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:

See Creating an API on how to see a destination-based usage tracking graph of your APIs.

  • Number of subscriptions per API (across all versions of an API)
  • Number of API calls being made per API (across all versions of an API)
  • The subscribers who did the last 10 API invocations and the APIs/versions they invoked
  • Usage of an API and from which resource path (per API version)
  • Number of times a user has accessed an API

  • The number of API invocations that failed to reach the endpoint per API per user
  • No labels