13 Jan 2025 06:06 PM - last edited on 14 Jan 2025 08:09 AM by MaciejNeumann
Hi,
Would like to monitor BufferPool Memory consumed for a java Microservice. Can anyone please advise on the possibilities through Dynatrace.
getMemoryUsed
https://docs.oracle.com/javase/8/docs/api/java/lang/management/BufferPoolMXBean.html#getMemoryUsed--
Thanks,
Rajendra
13 Jan 2025 06:24 PM - edited 13 Jan 2025 06:24 PM
Hi,
You can find here all JVM metrics out-of-the-box.
If it not there, you can explore JMX extensions.
Best regards
14 Jan 2025 02:08 PM
One addition/note to Anton's reply - JMX extensions likely would be the way to go but that documentation links to the 1.0 extensions framework which will still be around for quite a while but the latest way to handle these is within the 2.0 extensions framework.
https://docs.dynatrace.com/docs/ingest-from/extensions20/data-sources/jmx
https://www.youtube.com/watch?v=KaLQhLmjP1o
https://developer.dynatrace.com/develop/dynatrace-extensions-vscode/guides/migrate/jmx-conversion/