Universal Messaging 10.15 | Administration Guide | Monitoring Universal Messaging Using Prometheus | Add New JMX Metrics to jmx_sag_um_exporter.yaml
 
Add New JMX Metrics to jmx_sag_um_exporter.yaml
The configuration file of the JMX Exporter agent, jmx_sag_um_exporter.yaml, contains a set of JMX metrics for monitoring in Prometheus. However, the file does not include corresponding metrics for all available JMX bean attributes that Universal Messaging exposes. If necessary, you can add a metric that is missing.
Before adding a new metric, you must check the available JMX bean attributes in JConsole and choose an attribute only from that list. You cannot configure a metric for unexposed bean attributes, nor view such attributes in JConsole.
*To add a new JMX metric to the jmx_sag_um_exporter.yaml file
1. Open the jmx_sag_um_exporter.yaml file in a text editor.
2. Go to the rules section and copy an existing rule that is closest to the new metric.
3. Modify the rule as needed. You can modify the attribute name at the end of the pattern property or the whole pattern if necessary, and the name, help, and type properties.