JVM dashboard


Complete dashboard using metrics from prometheus JMX exporter, with drill down per job > instance
Last updated: 3 years ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 8070

Reviews: 3

  • screencapture-localhost-3000-d-jvm-jvm-dashboard-2018-10-29-14_17_48.png

Gist is here

Based on JMX exporter prometheus.

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

Prometheus with config example:

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

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

jmx-exporter config example:

lowercaseOutputLabelNames: true
lowercaseOutputName: true
whitelistObjectNames: ["java.lang:type=OperatingSystem"]
blacklistObjectNames: []
  - 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