Viewing the performance of running servers

As an administrator, use Insight Monitor to check that your servers are running as you expect. Insight Monitor provides information useful to troubleshoot your cluster.

About this task

Insight Monitor shows information on the number of processed events, memory consumption, and CPU. This information helps you to diagnose problems, especially if the cluster is not running as you expect. The Events page shows the number of events, the event types, and the rate at which they are processed. It also shows the scheduled processing of events, which are identified by a clock icon. It is also possible to filter the results of displayed events by selecting processed, error, or retry events.

The Memory and CPU pages show information about capacity allocation usage and how much memory is being consumed by the servers.

By default, the Event menu displays the Total count page. It shows the total count of events since you activated the solution.

Important: Insight Monitor displays the following error message when the admin center feature is not configured properly: Error connecting to server: <server_name>. If you recently started or stopped a server, wait a minute and check again to see if the message disappears. If the message persists, then check for a configuration error. For example, verify that the performance monitor feature is added to the servers.

Procedure

  1. On the Event menu, click the arrow This icon shows an arrow, which you use to expand a drop-down list for event metrics. icon to expand a list of metrics for events.
    1. Click Total count to view the total number of events from when the runtime server started. If a server is restarted, then the event count is reset. It also shows the total scheduled processing of events per agent.
    2. Click Recent Processing Rate to view the event rates. The event rate information gives the actual number of events and scheduled processing of events that are processed per second. The rate is based on statistics that are taken at two consecutive polling periods, at intervals of 4 seconds.
    3. Click Total Processing Time to view the accumulated processing time in hours, minutes, seconds of the total event count and scheduled processing events since the solution is activated.
    4. Click Recent Processing Time to view the processing time for events and scheduled processing events in milliseconds. The average processing time is based on statistics that are taken at two consecutive polling periods, at intervals of 4 seconds.
    5. Click Average Processing Time to view the average time in milliseconds taken to process events and scheduled processing events since the solution is activated. The average time information is the result of Total Processing Time divided by the Total count.
  2. Filter the results of displayed events by clicking the Event types iconThis hamburger icon shows a list of event types that you can select to filter the results of displayed events.. By default, the selection shows the processed, error, and retry events.

    The processed option shows the events that are successfully processed and committed. The error option shows the events that are discarded due to an error, and the retry option shows the events that retried. Events that fails five times are recorded as an error.

  3. Click Memory to view the memory utilization.

    The Memory page shows the total, used, and free heap usage on each server. It indicates whether the system is running low on Java™ heap. If the memory usage is near the configured amount, you might want to add more RAM and increase the size of the Java virtual machines. When using a collective green icons show running servers and red icons servers that are stopped.

  4. Click CPU to view the CPU usage.

    The CPU page displays the Central Processing Unit (CPU) percentage that the server is using. It shows that the system is running efficiently, or not. If the system has a high event rate, the CPU is near 100%, which indicates that the system is processing the backlog of events as quickly as possible. When using a collective, a colored icon shows the status of each server member: green icons show running servers, and red icons show servers that are stopped..

Example

The following figure shows the Total Count metric page. The AirportSolution has three rule agents that processed all of the event count for the solution, and most of the events are processed by the second server. The event types are listed below the agent name. The rule agent that is named AirportCustomerAgent shows 68% of the total event count.

This image shows the total number of events processed per server. The rule agent named AirportCustomerAgent shows 68% of the total event count.

The following figure shows the Total Processing Time metric page. The processing time varies across the servers and can be used to monitor the processing rate of events on each server in real time. 

This image shows the event rates processed by four servers. The event type named airport.CustomerFlightRedirectAlert shows the highest processing time in second.