Modify Filters in jmx_exporter.yaml
The Server_Common.conf file of a Universal Messaging realm instance refers to the jmx_exporter.yaml file, which is the configuration file for the JMX Exporter agent. The jmx_exporter.yaml file contains filters of different JMX beans attributes. You can change the names of those filters.
By default, Prometheus queries are available in the Graph section of the product.
To edit the jmx_exporter.yaml file and change the names of filters
1. Open the jmx_exporter.yaml file in a text editor.
2. Go to the rules section. You will see filters for each JMX attribute, for example:
#Heap Memory Usage - HeapMemory
- pattern: com.softwareag.um.server<type=Broker, brokerName=(\S*)><>(HeapMemory)
name: HeapMemory
help: "Server Statistics"
type: COUNTER
3. To change the filter name of a metric, edit the name property accordingly. For example, to change the name of the metric HeapMemory to ServerHeapMemory, change the name property to ServerHeapMemory.