Overview
Starting with 9.3 release, codeBeamer ALM offers a built-in solution for monitoring key metrics of the application and the host operating system. There is no need to install any 3rd party software or to go through a lengthy configuration process before starting to use this solution. As the monitoring subsystem is part of the codeBeamer ALM, it works when the codeBeamer instance is running. The application periodically saves the monitoring log directly to the database used by codeBeamer instance.
Accessing monitoring logs
Users can access monitoring logs though two different pages. Users with System Administrator privileges can find it on the System Admin tab
under the Server Status Dashboard menu.
Look for the System Monitoring section, which is open by default.
It is also possible to allow regular users to access the monitoring data. Such users must be part of group which has Group Admin permission to achieve this.
These users still can not access the System Admin tab, instead they will find a new menu option called System Monitoring under the My Start tab.
This page contains the same information as the Server Status Dashboard / Systen Monitoring section.
Reading the charts
Monitoring dashboards show monitoring logs on a couple of charts, Each chart displays one or more (related) data sets. These charts are not real-time, which means all of them shows the last available data point(s) at the time of the page load.
The top section of each chart contains the data for the selected time period. (By default the last hour.) The bottom part of each chart shows all the available data points. The codeBeamer ALM preserves logs for maximum 3 consecutive days. Users can change the selected time period by dragging across this chart.
Moving the mouse over the chart reveals the data points. When there are multiple data sets on a chart, then all the data points for the same time appear in the popup. Orange dashed lines mark the server restarts.
Comfort features
Synchronize Time Frame checkbox enables / disables the synchronization of the selected time period across all of the charts.
Clicking on the chart dowloads the log entries for the related request id. This feature is only present on Response Time and Queries Count charts and only works with the default logging configuration shipped with the codeBeamer ALM.
Collected Data
At the time of writing the monitoring subsystem collects the following metrics.
Thread & Requests Count chart
- Active Thread Count (of the JVM powering codeBeamer ALM)
- Available Thread Count (of the JVM powering codeBeamer ALM)
- Request Count (number of incoming requests)
- REST Request Count (number of REST API calls)
Database Connections Count
- Database Active Connections (of the codeBeamer ALM)
- Database Idle Connections (of the codeBeamer ALM)
Response Time
- Maximum Response Time (of the codeBeamer ALM)
- Average Response Time (of the codeBeamer ALM)
Emails Count
- Emails Count (sent by codeBeamer ALM)
Queries Count
SQL queries executed by the codeBeamer ALM
- Maximum Number of Queries For Single Request
- Maximum Query Execution Time
- Queries Count
- Average Number of Queries For Single Request
Slow Queries & Requests Count
- Slow Queries Count (SQL queries executed by the codeBeamer ALM marked as slow by the system)
- Slow Requests Count (incoming requests coming into codeBeamer ALM marked as slow by the system)
Memory Usage
Memory metrics of OS hosting the codeBeamer ALM.
- Total Physical Memory Size
- Commited Virtual Memory Size
- Maximum Memory Size
- Total Memory Size
- Free Physical Memory Size
- Free Memory Size
Garbage Collection
Garbage collection of garbage collector(s) of the JVM running the codeBeamer ALM.
System CPU Load
Load metrics of OS hosting the codeBeamer ALM.
- System CPU Load
- Process Load
Command Executions
Metrics about standalone processes started by the JVM running codeBeamer ALM.
- Maximum Execution Time
- Command Count
Logged in Users & Licenses Info
The number of logged in users to the codeBeamer ALM. Also shows the used license types (variable).
Free Space
- Free Space (storage space remaining on the host OS system)
File Descriptors (available only on Linux)
- Open File Descriptors (on the host OS system)
LDAP Login Time
- Max Authentication Duration
- Authentication Count
codeBeamer statistics
When you click on the codeBeamer statistics section that will show the number of various entities in the system like this:
Downloading Logs and Charts
Codebeamer provides the option to export log information and the charts displayed on the Server Status Dashboard:
The exports will include log files for the choosen period (daily, weekly, all logs) and the interactive charts in a separate HTML file. Users can export only the charts separately by clicking the [Export monitoring charts] button.
Exporting charts are available from codebeamer 22.04 (Felicity). Before Felicity, only the log files are exported, without the interactive HTML files.