Show Table of Contents
10.4. Configuring Web Context Metrics
mod_cluster can use different types of metrics to determine how to balance traffic most efficiently. These metrics are described in the mod_cluster documentation. These metrics include things like active sessions, request counts, and traffic.
Additionally, custom metrics can be written and added to the subsystem.
These metrics can be added to the
mod_cluster subsystem configuration for JBoss ON to monitor (and existing metrics can be removed).
- Click the Inventory tab in the top menu.
- Select Servers - Top Level Imports in the Resources menu table on the left. Then select the JBoss EAP 6 server which hosts the
mod_clusterservice (the master node). - Navigate to the
mod_clusterservice resource.
- Click the Operations tab on the resource entry.
- Select the Add (Custom) Metrics operation from the drop-down menu.

- Fill in the metric information. The default metrics are listed in the mod_cluster documentation.
- Click the button at the bottom of the page.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.