Monitoring JVM with Prometheus in K8S (II)
Background NotesIn the previous article Monitoring JVM with Prometheus in K8S (I), we implemented a service based on Kubernetes to monitor the JVM information of java in Pods. JVM information of the application in the Pod. However, this does not apply to all environments, because not all Pods (microservices) have their own Service in the real world, so those Pods that do not use the Service cannot monitor JVM information with the same kind of implementation as in the previous article. Now let’s ...
Monitoring JVM with Prometheus in K8S (I)
Operation ScenariosThe Prometheus community has developed the JMX Exporter to export JVM monitoring metrics for use with Prometheus to capture monitoring data. Learn how to use Prometheus with JMX Exporter to monitor Java applications once your Java business has been containerized to Kubernetes in this article.
Introduction to JMX ExporterJava Management Extensions, JMX, is an extension framework for managing Java, and JMX Exporter is based on this framework for reading the runtime state ...