May 2019
Intermediate to advanced
442 pages
11h 36m
English
The Java Virtual Machine (JVM) is a popular choice for core infrastructure services, such as Kafka, ZooKeeper, and Cassandra, among others. These services, like many others, do not natively offer metrics in the Prometheus exposition format and instrumenting such applications is far from being a trivial task. In these scenarios, we can rely on the Java Management Extensions (JMX) to expose the application's internal state through the Managed Beans (MBeans). The JMX exporter extracts numeric data from the exposed MBeans and converts it into Prometheus metrics, exposing them on an HTTP endpoint for ingestion.
The exporter is available in the following two forms:
Read now
Unlock full access