Hello guys, I saw that there are 2 ways to the instrument java application.
1) Using JMX, in which we need to manage the MBean server.
2) Using codahale, where there is a metric registry to do the same work.
I want to know that am I thinking correct by assuming this. Secondly, how to do instrumentation when the application is not Java-based.
Do both the MBean server and metric registry present in JVM?
How in both the cases we are exporting them to a port so that Prometheus can collect them.
Regards,
Aditya Garg