EI-Analytics Dashboard is used to publish information relating to the message mediation in WSO2 EI. The statistics are published in the analytics dashboard in an overview as well as for individual artifacts that are deployed within WSO2 EI.
In this tutorial, you use the EI-Analytics dashboard to view and analyze the Service Chaining tutorial mediation statistics.
Before you begin,
- Install Oracle Java SE Development Kit (JDK) version 1.8.* and set the JAVA_HOME environment variable.
- Download the WSO2 EI ZIP file from here, and then extract the ZIP file.
The path to this folder will be referred to as<EI_HOME>
through out this tutorial. - Select and download the relevant EI tooling ZIP file based on your operating system from hereand then extract the ZIP file.
The path to this folder will be referred to as<EI_TOOLING>
through out this tutorial. Download the CAR file that contains the integration artifactsfrom the previous tutorial from here.
- If you are running on Windows, download the
snappy-java_1.1.1.7.jar
fromhere and copy the JAR file to<EI_HOME>\wso2\analytics\lib
directory.
Let's get started!
Setting up Analytics
Set the following properties in the
<EI-HOME>/conf/synapse.properties
file totrue
so that the ESB can publish mediation statistics:... mediation.flow.statistics.enable=true mediation.flow.statistics.tracer.collect.payloads=true mediation.flow.statistics.tracer.collect.properties=true ... mediation.flow.statistics.collect.all=true
- Start the Analytics runtime by going to
<EI_HOME>/wso2/analytics/bin
and using the command line terminal and executing one of the following commands:- On Linux/Mac OS:
sh wso2server.sh
On Windows:
wso2server.bat --run
- On Linux/Mac OS:
Start the Integration runtime from within ESB Tooling as described in here OR by navigating to
<EI_HOME>/bin
and using the command line terminal and executing one of the following commands:On Linux/Mac OS:
sh integrator.sh
On Windows:
integrator.bat --run
Ensure you have successfully started the Analytics server prior to starting the Integration server.
Analyzing the mediation statistics
- In a new browser window or tab, open https://localhost:9444/carbon/ and log into the Analytics management console using
admin
for both the username and password. - On the Main tab, click Analytics Dashboard and log in using
admin
for both the username and password. You will then see the following:
Click View to open the EI-Analytics Dashboard. The OVERVIEW page is displayed by default.
To view statistics for the REST API, click API on the left navigator and search for
HealthcareAPI
. For more information on analyzing statistics displayed on this page, see Analyzing Statistics for REST APIs.
- To view statistics for an endpoint, click ENDPOINT on the left navigator and search for the required endpoint. You can view statistics for the following endpoints on this page:
GrandOaksEP
PineValleyEP
ClemencyEP
ChannelingFeeEP
SettlePaymentEP
You have now explored how to use EI-Analytics dashboard.