We are using a vertx based service. We need to monitor the database connections and thread utilized count. I tried to create a custom JMX measure for it. While browsing the metric in that service, I did not find any relevant measures in the list.
I took a CPU sample of the transaction and found vertex-worker thread. Can I utilize that data to create the measures?
How can I go about finding the attributes?
Answer by Sebastian K. ·
Sometimes Prosper mbeans has to be turned on. Without this you will not able to create proper jmx measure. About creating custom measure based on method in code. Right now it’s not possible. There is preview for this:
But if there is option to retrace value you need for example via bash, it may be better idea to write simple OneAgent plugin that will get metrics you need and push them to further details tab on process card. But first check if there are any mbeans that can be turned on for jmx plugin.
Measures don't work when it negates 1 Answer