I was wondering if there are any plans to support monitoring the size of each generation in java's heap and the cpu time spent in gc using the Java APM agent?
I've used other APM products in the past that monitor this and have found it to be very useful.
From googling, I found a few posts that mentioned using jolokia for these stats, however, you'd have to run jolokia as it's own javaagent, and wouldn't be able to run the Java APM agent in that case.
Are you actually interested in stats for all memory pools? In the current state of the PR, we only have metrics for heap an non-heap without dedicated metaspace stats, for example. Is that enough for you or do you need more fine-grained stats?
BTW, you can actually add multiple javaagent flags.
Looking at the PR it appears the JVM heap and GC metrics changes are now merged. Please confirm. If merged, can you point to release information (snapshot or agent build number?)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.