codahale and jmx instrumentation

7 views
Skip to first unread message

aditya garg

unread,
May 19, 2020, 10:25:12 AM5/19/20
to Prometheus Users
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
Reply all
Reply to author
Forward
0 new messages