When offering open banking services, organizations need to monitor the following:
- Performance and Availability: The performance of the system needs to be maintained at an acceptable level. At the same time, the endpoints exposed to clients need to be highly available so that they can carry out their open banking activities in a non-disruptive manner.
- Number of TPPs: It is important to observe the trends related to the number of Third Party Providers (TPP) registered with the organization for capacity planning as well as to evaluate business success.
- Daily Volumes: This involves monitoring statistics related to the number of API calls handled so that you can assess the efficiency with which the open banking services are provided and identify any security concerns. In addition, this form of monitoring also helps with capacity planning.
The OB Monitoring Tool is offered to be used with the WSO2 Open Banking solution for the purpose of carrying out the above.
The following topics explain how to download and install the OB Monitoring Tool, and then use it to monitor your APIs.
Downloading and installing the Monitoring Tool
To download and install the monitoring tool, follow the steps below:
- Apply the latest WUM update to the following product packs. For more information, see WSO2 Administration Guide - Using WSO2 Update Manager.
- WSO2 Open Banking - API Manager 2.6.0
- WSO2 OPen Banking - API Manager Analytics 2.6.0
To enable the publisher to publish monitoring statistics, open the
<WSO2OB_AM_HOME>/repository/conf/api-manager.xmlfile and update the
Analyticsas shown below.
- Restart WSO2 Open Banking - API Manager 2.6.0 server.
- Download the zip file with the Monitoring Tool from here.
- Unzip the file you downloaded to extract the Monitoring Tool.
Creating a report in CSV format
Once you have downloaded and extracted the Monitoring Tool, you can create a report that consists of two CSV files as follows:
config.propertiesfile in the extracted zip file and update the properties.
Information about the properties that can be configured are included as code comments in the
Copy your database driver class jar to the
libsdirectory of your extracted directory. Then rename the jar it to
This allows the Monitoring tool to connect to the Consent DB database that is already set up for WSO2 Open Banking.
Issue the following command to create the two CSV files of the report.
java -jar com.wso2.finance.open.banking.analytics.uk.monitoring.tool-1.2.0.jar
The report generated as described above consists of two files. These two files can be used as datasets to generate other output (e.g., PDF documents, dashboards etc.). These two files are as follows:
This file contains data related to the API response time. The format of the file is as shown in the following sample.
This file contains count data related to the API resource path. The format of the file is as shown in the following sample.