What is the value of the X-Agent vs JMX? What metrics can the X-Agent get that JMX can’t?
The Foglight Java X-Agent provides application response metrics that fully populate the Requests dashboard, including response times, exceptions, component breakdowns, single traces, SQL calls etc.
The X-Agent also collects basic JVM metrics including heap size and capacity, garbage collection, and threads. The X-Agent does not collect Glassfish-specific JMX metrics.
The Foglight JMX agent collects basic JVM metrics by default and can be configured to collect specific JMX metrics. But the JMX agent does not support bytecode instrumentation and cannot collect any application request response time metrics; the Requests dashboard will not populate.
The JMX-Agent can be used if the JDK is 1.5 (Tiger) and above.