Java Virtual Machine integration for Grafana Cloud
A Java Virtual Machine (JVM) provides a runtime environment that converts Java bytecode into machine language, allowing computers to run Java programs. The JVM integration enables the Grafana Agent to send metrics to Grafana Cloud. The integration also creates a useful default dashboard for visualization of JVM metrics within Grafana Cloud.
This integration monitors a JVM process that exposes metrics through client_java.
Use the walkthrough in Grafana Cloud to install the JVM integration.
Post-install configuration for the Java Virtual Machine integration
In the Grafana Agent configuration file, the agent must be pointed to the JVM process, such as jvm:1234
in the example below, that exposes the /metrics
endpoint of the client_java
library.
metrics:
wal_directory: /tmp/wal
global:
scrape_interval: 5s
configs:
- name: integrations
scrape_configs:
- job_name: jvm-integration
static_configs:
- targets: ['jvm:1234']
remote_write:
- url: http://cortex:9009/api/prom/push
Related Grafana Cloud resources
Intro to Prometheus and Grafana Cloud
Prometheus is taking over the monitoring world! In this webinar, we will start with a quick introduction to the open source project that’s the de facto standard for monitoring modern, cloud native systems.
How to set up and visualize synthetic monitoring at scale with Grafana Cloud
Learn how to use Kubernetes, Grafana Loki, and Grafana Cloud’s synthetic monitoring feature to set up your infrastructure's checks in this GrafanaCONline session.
Using Grafana Cloud to drive manufacturing plant efficiency
This GrafanaCONline session tells how Grafana helps a 75-year-old manufacturing company with product quality and equipment maintenance.