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

How to configure JMX mbeans operations

godwin_shrimal
Newcomer

I could create a JMX plugin using JMX plugin editor and its working fine and I can see the JMX stats. My problem is I have few mMbeans which has operations, not attributes. JMX plugin editor not support for operators. Is there any way to add JMX operators ?


9 REPLIES 9

Jakub_Mierzewsk
Inactive

Why do you want to monitor operations? What exactly you wan to get name of operation? Could you send us your mBeans tree with market data which you want to gather?


@Jakub M. I think your understanding is wrong. What is specifically highlighted in this question is whether we can execute MBean operation via Dynatrace. (Which is a possible task in JConsole)

kaidwnflmnfrvem
Newcomer

I am also having the same question. When we are using JConsole, we can manage the application by executing the MBean operations (eg: restart() <- this will restart the application.). Does Dynatrace possess such a capability?

dave_mauney
Dynatrace Champion
Dynatrace Champion

We allow accessing JMX metrics for monitoring purposes, and do not allow invocation of JMX operations.

Thanks for the information.

Hello Dave,

My problem is we would like to get Hikari Connections pool metrics on Dynatrace but we are not able to see the Hikari Connection pool metrics (Active , Pending, Acquired, Idle, Threads awaiting connections, usage etc). Hikari metrics we are able to see on Springboot admin page but we can't get those on Dynatrace. Will you be able to provide any lead what is going wrong. In sprint boot admin we can see below metrics: 

hikaricp.connections
hikaricp.connections.acquire
hikaricp.connections.active
hikaricp.connections.creation
hikaricp.connections.idle
hikaricp.connections.max
hikaricp.connections.min
hikaricp.connections.pending
hikaricp.connections.timeout
hikaricp.connections.usage

 

Structure of microservice is , Docker --> Having One Agent and Microservice code, Hikari pool jar is in side lib. 

 

Regards,

Pankaj Raverkar

Hi,

Maybe you can try this one: https://github.com/chulderman/Dynatrace-HikariCP-Plugin. If it doesn't work directly have a look at the json to see what it picks up.

Mike

Thanks a lot Mike, We tried this extension also but no luck.

Same here, tried this plugin but it did not work. Hikari metrics are not picked up. Any suggestions?