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?
Solved! Go to Solution.
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:
Structure of microservice is , Docker --> Having One Agent and Microservice code, Hikari pool jar is in side lib.
Is there any change regarding this topic? My client would like collect the Hikaripool metrics also from Springboot under Openshift.
Thanks in advance.
I was able to set this up successfully using Hikari exposed in Dynatrace. My memory is a bit fuzzy but what I did in my Spring boot app was create a Datasource setting dataSource.setRegisterMbeans(true); This could also be done in the yaml file
Also make sure your yaml file has
And then used the plugin script
Here are the results:
Is there any progress on this topic? I also have a client that would like to collect the Hikari connection pool metrics.