Episode 85. Monitor the World with JMX!
Java Pub House - A podcast by Freddy Guime & Bob Paulin
Categories:
There are technologies that sometimes are forgotten in a lonely corner, but that actually are quite sturdy. One of these is the All-Powerful Java Management Extensions (also known as JMX). With JMX you can actually expose a lot of metrics of your application and TONS of libraries use it "out of the box". Libraries like Tomcat, JVM, ActiveMQ, Spring (and ton others) exposes their metrics through JMX. And you can too!
In this episode we go over how to both consume JMX metrics (through JConsole, or statsD, or other Performance Monitoring Tools), and how to produce them as well (By creating your own MBeans), not only that, but we also go with how to be able to "invoke" these on a live application. Have you ever wanted to say "Oh my, I wish I could call this method while the program is running in production 'At will'". Well, with MBeans, you can make that happen! Not only that, but if you really want to you can also expose your MBeans through a Rest Endpoint with Jolokia.
FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!
We thank DataDogHQ for sponsoring this podcast episode
We also thank OverOps for sponsoring this podcast episode
Don't forget to SUBSCRIBE to our cool NewsCast! Java Off Heap
- Java Management Extensions
- Standard MBeans
- Basic Introduction to JMX
- Jolokia (MBean to Rest)
- Standard MBeans
Do you like the episodes? Want more? Help us out! Buy us a beer!