You may have come across a mBean attribute with a value such as STARTED or RUNNING. How do you convert that to a more useful boolean metric?
A blog on monitoring, scale and operational Sanity
You may have come across a mBean attribute with a value such as STARTED or RUNNING. How do you convert that to a more useful boolean metric?
While the JMX attributes you are usually working with will be numbers, the JMX exporter also has support for strings.
Cassandra is one of many Java-based systems that offers metrics via JMX. The JMX Exporter offers way to use these with Prometheus. By following these steps you can be up and running in under a minute!
Sometimes mBeans produce errors when scraped by the JMX exporter. Being able to look at detailed logs can help you figure out exactly which mBean is having issues and why.