Thanks for arranging the Webex session yesterday.
Yes we are able to see the JMX metrics on APM again, however we are missing the app CPU metrics.
We investigated the introscopeAgent.logs and found the following excerpts: (PS – these are not observed in JVMs which were not restarted)
[IntroscopeAgent.CPUMethodTimeBreakdown] Turn on Method Time Breakdown
[IntroscopeAgent.Agent] Enables/Disables Method Time Breakdown (introscope.agent.cpumethodtimebreakdown.enable) set to default value of "true"
[IntroscopeAgent.CPUMethodTimeBreakdown] Turn on CPU Method Time Breakdown Contention Monitor
[IntroscopeAgent.Agent] Enables/Disables CPU Method Time Breakdown Contention Monitor (introscope.agent.cpumethodtimebreakdown.contention.enable) set to default value of "true"
[IntroscopeAgent.Agent] Configuration property (introscope.agent.cpumethodtimebreakdown.tt.threshold) set to default value of "0"
[IntroscopeAgent.Agent] Enables/Disables CPU Method Time Breakdown TT Percentage Decoration (introscope.agent.cpumethodtimebreakdown.tt.percentage.decoration.enable) set to default value of "false"
[IntroscopeAgent.Agent] Enables/Disables CPU Method Time Breakdown Metric (introscope.agent.cpumethodtimebreakdown.metric.enable) set to default value of "true"
[IntroscopeAgent.CPUMethodTimeBreakdown] Turn on Allocated Memory Monitor.
Release : SAAS
Component : Integration with APM
This metric from the Platform Monitoring, and the new Platform Monitoring came from the new JMX:
Enable the remotejmx by reverting the change in extensions\Extensions.profile. This way you get metrics from both old and new jmx.
***
We have now implemented the changes by enabling remotejmx by reverting the change in extensions\Extensions.profile. We can now see the CPU as well as com.bea metrics in JMX.
With JMX metrics , you have two ways :
1. Enable legacy jmx monitoring to get same metrics as in 20.6. This sounds like what you want.
introscope.agent.jmx.enable
This property enables collection of JMX metrics.
Values: true or false
Default: Varies by agent version.
Example: introscope.agent.jmx.enable=false (disables)
Note: Restart the managed application for changes to this property to take effect
Enabling Platform Monitors
You can enable Platform monitoring metrics by following these steps.
Follow these steps:
Open <AGENT_HOME>/extensions/jmx/bundle.properties
Append ‘cpu’ module to the modules list introscope.agent.remotejmx.system.s1.config.modules=<modules-list>,cpu
Save the file.
Restart the monitored application.
Adjust remotejmx configuration to get desired jmx metrics. Start by trying: introscope.agent.remotejmx.system.s1.mbeanPatternsWhiteList=com.bea*:* Please try the above options and report back. Await answers and webex.