cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Java BufferPool Monitoring

Rajendra
Visitor

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 

2 REPLIES 2

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You can find here all JVM metrics out-of-the-box.

If it not there, you can explore JMX extensions.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

JamesKitson
Dynatrace Guru
Dynatrace Guru

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/

 

JMX (Java Management Extensions) is ideal for monitoring applications built using #Java. With #Dynatrace, you can monitor any metric in your JVM that is exposed via an MBean. With the new Dynatrace Extensions 2.0 Framework and the Visual Studio Code Add-On, it's even easier to bring in JMX metrics

Featured Posts