All dashboards

JVM dashboard

Complete dashboard using metrics from prometheus JMX exporter, with drill down per job > instance

Gist is here

Based on JMX exporter prometheus.

Dashboard for jvm_* metrics which are exported by JMX exporter.

Prometheus with config example:

yaml
scrape_configs:
  - job_name: 'java'
    static_configs:
    - targets: ['<host>:<port>']

You can change config file’s job_name and dashboard’s job constant variable correspondingly.

jmx-exporter config example:

yaml
---   
lowercaseOutputLabelNames: true
lowercaseOutputName: true
whitelistObjectNames: ["java.lang:type=OperatingSystem"]
blacklistObjectNames: []
rules:
  - pattern: 'java.lang<type=OperatingSystem><>(committed_virtual_memory|free_physical_memory|free_swap_space|total_physical_memory|total_swap_space)_size:'
    name: os_$1_bytes
    type: GAUGE
    attrNameSnakeCase: true
  - pattern: 'java.lang<type=OperatingSystem><>((?!process_cpu_time)\w+):'
    name: os_$1
    type: GAUGE
    attrNameSnakeCase: true
Revisions
RevisionDescriptionCreated
Java Virtual Machine (JVM)

Java Virtual Machine (JVM)

by Grafana Labs
Grafana Labs solution

Easily monitor a Java virtual machine, which allows computers to run Java programs, with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies