WSO2 products provide a range of access and performance statistics on the running Carbon instance as well as a service. These statistics include information about memory availability, request count, server name, server start time, system up time, active services, total memory, average, minimum, maximum response times etc. Statistics are accessible through the Management Console of a a running Carbon instance and the functionality is provided by the following feature:
Name: WSO2 Carbon - Statistics Feature
Identifier: org.wso2.carbon.system.statistics.feature.group
If this feature is not bundled with the WSO2 product by default, you can install it using the instructions provided in section Feature Management. Once installed, the necessary menus will appear in the Management Console. Access and performance statistics are available in two levels as follows:
- System Level Statistics
- Access and Performance Statistics#Service Level Statistics
- Operation Level Statistics
System-Level Statistics
Follow the instructions below to access system-level statistics.
1. Log on to the product's Management Console and select System Statistics from menu Monitor . For example,
2. The System Statistics page appears as follows.
The following information is available:
- Access and Performance Statistics#Service Summary
- Access and Performance Statistics#Server Information
- Access and Performance Statistics#Response Time Graph
- Access and Performance Statistics#Memory Graph
- Access and Performance Statistics#Statistics Configuration Panel
Service Summary
This panel provides the following information:
- Average Response Time - The average amount of time taken by the mediation channel to mediate a message (in milliseconds).
- Minimum Response Time - The least amount of time taken by the mediation channel to mediate a message (in milliseconds).
- Maximum Response Time - The greatest amount of time taken by the mediation channel to mediate a message (in milliseconds).
- Total Request Count - The total number of messages received and mediated through the mediation channel.
- Total Response Count - The total number of messages send and mediated through the mediation channel.
- Total Fault Count - The number of messages that triggered faults while being mediated through the channel.
- Active Services - The number of currently active services.
Server Information
This panel provides the following information:
- Hos t - Shows the IP address of the server.
- Server Start Time - Shows the time when the server started.
- System Up Time - Shows the time the server has been up and running.
- Memory Allocated - Shows the memory capacity of the server.
- Memory Usage - Shows the used memory of the server.
Response Time Graph
This graph shows the temporal variation of the Average Response time.
Memory Graph
This graph shows the temporal variation of the server Memory.
Statistics Configuration Panel
The Statistics Configuration panel is provided to customize the System Statistics display by entering values to the appropriate fields and clicking Update.
- Statistics Refresh Interval (ms) - Allows to specify the interval of the statistics refresh. A smaller value refreshes the statistics display faster.
- Response Time Graph - Allows to specify the X and Y parameters of the Response Time graph.
- X-Scale (units)
- X-Width (px)
- Memory Graph- Allows to specify the X and Y parameters of the Memory graph.
- X-Scale (units)
- X-Width (px)
If you want to reset the previous values before submitting the page after editing, click Reset . The Restore Defaults button sets the default values in the corresponding fields.
Service-Level Statistics
In addition to system-level statistics, you can also access service-level statistics through a selected service's dashboard. Service dashboard and management capabilities in your product are provided by the following features:
Name : WSO2 Carbon - Service Management Feature
Identifier : org.wso2.carbon.service.mgt.feature.group
Not all WSO2 products have service management capabilities bundled in them by default. If require, you can add the functionality by installing the above features using instructions in section Feature Management. Once installed, the necessarily functionality and menu items will appear in the Management Console.
Follow the instructions below to access service-level statistics:
1. Log on to the product's Management Console and select List from menu Web Services .
2. The Deployed Services window appears. Click on a service to access its dashboard. For example,
3. The service's dashboard appears. It contains the statistics panel in addition to others.
4. The Statistics panel provides the following statistical information about a service.
- Request Count
- Response Count
- Fault Count
- Maximum Response Time
- Minimum Response Time
- Average Response Time
It provides a graphical view of the average response time as follows:
Operation-Level Statistics
You can also access operation-level statistics of a service's operation through its dashboard. Service and operation dashboards are provided by the following features:
Name : WSO2 Carbon - Service Management Feature
Identifier : org.wso2.carbon.service.mgt.feature.group
All WSO2 service hosting products have service management capabilities bundled in them by default. If the product you are using does not have this capability added by default, you can add it by installing the above features using instructions in section Feature Management. Once installed, the necessarily functionality and menu items will appear in the Management Console.
Follow the instructions below to access operation-level statistics:
1. Log on to the product's Management Console and select List from menu Web Services .
2. The Deployed Services window appears. Click on a service to access its dashboard. For example,
3. The Service Dashboard page appears. Click Operations in the Quality of Service Configuration panel.
4. The Operations of Service page appears. Click on a selected operation to view its Operation Dashboard.
5. The operation's statistics panel appears in the Operation Dashboard. For example,
6. The Statistics panel of an operation provides the same statistics shown about a service.
- Request Count
- Response Count
- Fault Count
- Maximum Response Time
- Minimum Response Time
- Average Response Time
It also provides a graphical view of the average response time.