How can CA APM collect the metrics for JMX MBean attribute LastGcInfo
book
Article ID: 109859
calendar_today
Updated On:
Products
CA Application Performance Management Agent (APM / Wily / Introscope)INTROSCOPE
Issue/Introduction
How to collect metrics for attribute "LastGcInfo" under JMX MBean java.lang:type=GarbageCollector
By default, after installing the APM Agent for Weblogic, JMX metrics for "LastGcInfo" are not visible.
Environment
APM 10.x Weblogic 10.x, 11.x, 12.x
Resolution
LastGCInfo is CompositeData and the agent Composite Data property is disabled by default. Enable the below property in IntroscopeAgent.profile, and restart the managed application to take effect: introscope.agent.jmx.compositedata.enable=true
Then the JMX metrics for "LastGcInfo" attributes will be collected by the Agent and will be visible in CA APM UI under node: JMX| java.lang|name=<GC_NAME>|type=GarbageCollector|LastGcInfo i.e. ----------------------------- GcThreadCount duration endTime id startTime -------------------------------