Can I configure Introscope to report metrics for individual JMX MBean Operation?

Document ID : KB000096597
Last Modified Date : 17/05/2018
Show Technical Document Details
Issue:
Use case:
In the newest IBM Liberty Server Version 18.0.0.1 a new MDB ServerEndpointControl is available to pause, resume and check the status of each endpoints like http or JMS endpoints (e.g. application MDB’s)
In the below example "ServerEndpointControl" includes 3 endpoints, each endpoint has an operation called “isPaused”, however Introscope creates only one metric with the combined value of all the included endpoints.
 
Can I configure Introscope to report metrics for individual JMX MBean Operation?
 
User-added image
 User-added image
User-added image
Resolution:
By design, Introscope create metrics only for MBean Attributes and not for Operations’ output
In the above use case:

- “ServerEndpointControl” produces an attribute called “Pause” which is a combined value of all the included endpoints
- Reporting the Operation status for each endpoints will only be possible if each end point has an attribute that reports the status.
 
Enhancement Request DE361179 has been opened for this limitation : Be able to create metrics for individual MBean Operation, for example when using ServerEndpointControl like in the above use-case