Open ghost opened 6 years ago
Hi! Not directly, but jvm-mon uses a library called jvmtop to poll JVM stats: https://github.com/ajermakovics/jvm-mon/blob/master/src/main/kotlin/jvmmon/JvmStats.kt It should be possible to use jvmtop in another JVM app and log stats to a file. However, not sure if this is the easiest solution. There might be APM tools out there that do this out of the box.
So your saving it can be load with a jvm argument "-javaagent:jvmtop.jar" something to gather method level data another metrics possibly. Thanks for the quick response you have a impressive tool. I have been doing java performance a while and this is the closest I can see without buying new relic or app dynamics.
It doesn't provide a java agent so to use it you would need to add code to your application to get stats and write to a file. There are some open-source APM solutions like stagemonitor, pinpoint or glowroot.
Thank you
Hi, I was curious if there is an option to load the program into a JVM and recieve data and collection to a database or log file? I wrote a pull request a while back and really like the concept.