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

Migrating JMX metrics to the 2.0 Tomcat extension

rsmsdk
Helper

Hi Extensions board,

Like many other Dynatrace users, we have started to look into the JMX extension and the 2.0 framework, seeing the current builtin metrics will deprecate soon. I was watching the Observability Clinic "A Practical Guide to JMX Monitoring with Dynatrace" featuring James Kipson from Dynatrace to get an idea of how to setup this new extension.

We will use the Dynatrace provided JMX Extensions for Tomcat & Weblogic, and use the out of the box metrics they provide. This is why I hope the new Extension approach will provide the same metrics we have had untill now. I dont see us writing our own Extensions in the foreseeable future.

 

Challenge 1:
We have a hard time getting the new extension to work flawlessly, and logs does not provide much help either. I have enabled the required OneAgent features (JMX Metrics Extension 2.0) as well as the Extension Controller.

I have two processes where the connection pool metrics get data, but the new App Server- and Thread metrics introduced in version 2.2.1 does not return any data. We have these metrics available through the old view.

 

Challenge 2:
I have Tomcat processes where neither connection pool, web request or thread metrics work. The configuration is stuck in pending, and the only log output says "Monitoring configuration updated". The processes have been restarted many times, and frankly I dont know how to adress this issue from here.

 

Question 1:
Today we have the option on a Tomcat process level to click the "Further details"  and get metrics on threads. We utilize this alot! With the new extension the approach seem to be on the process view, click the options button (3 dots) and choose Metrics and log analysis. This navigation feel less intuitive than the old navigation. Is this change permanent, or something the will be improved in the future?

 

Thank you very much for any help provided.

Copenhagen - Denmark
2 REPLIES 2

TomásSeroteRoos
Dynatrace Helper
Dynatrace Helper

Troubleshooting and debugging EF2 extensions isn't indeed the easiest thing in the world.

Without more info, it's difficult to tell why the extension isn't working for you for some cases. I would recommend you open a ticket directly with Dynatrace support and they can guide you in extracting the full logs from the Agents to see exactly what is going on.

Regarding your question about the UI: hopefully this is something that will be addressed in the new Dynatrace Platform UI, but for now I think it will stay like this on the old platform.
Worth noting that the extension most likely imported a dashboard to help with UI navigation, so that can be worth checking out. You can find it by clicking on the "Open dashboard" button on the extension's config page.

Hi

Thank you so much for taking the time to help.

You write "without more info" - thing is, I dont know what info to provide 😀 I'll try to open a ticket.

Best regards

Copenhagen - Denmark

Featured Posts