This documentation is for WSO2 API Manager 1.7.0 View documentation for the latest release.
Page Comparison - Viewing API Statistics (v.4 vs v.9) - API Manager 1.7.0 - WSO2 Documentation

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

API statistics are provided in both API Publisher and API Store Web applications. 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 to set up BAM, see Publishing API Runtime Statistics. Once 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.

...

The sections below explain how to access the statistical dashboards:

Table of Contents
maxLevel3
minLevel3

API Publisher statistics

...

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:

...

  • 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
    In a faulty API invocation, the message is mediated though the fault sequence. By default, the API Manager considers an API invocation to be faulty when the backend service is unavailable.

API Store statistics

Log in to the API Store (https://localhost:9443/store). You can self subscribe to the store. Next, click the Statistics menu.

Image Added

Several examples of usage and performance statistics are given below:

  • API usage per application
    Image Added
  • Users who make the most API invocations, per application
    Image Added
  • API usage from resource path, per application
    Image Added
  • Number of faulty API invocations, per application
    In a faulty API invocation, the message is mediated though the fault sequence. By default, the API Manager considers an API invocation to be faulty when the backend service is unavailable.
    Image Added