← All dashboards

JVM (Micrometer)

Dashboard for Micrometer instrumented applications (Java, Spring Boot, Micronaut)

JVM (Micrometer)

A dashboard for Micrometer instrumented applications (Java, Spring Boot, Micronaut).

Features

  • JVM memory
  • Process memory (provided by micrometer-jvm-extras)
  • CPU-Usage, Load, Threads, Thread States, File Descriptors, Log Events
  • JVM Memory Pools (Heap, Non-Heap)
  • Garbage Collection/Pressure
  • Classloading
  • Direct-/Mapped-Buffer
  • minimalist I/O Overview
    • HTTP - Rate, Errors, Duration
    • TOMCAT/JETTY - Utilisation

Note

Instead of using the job tag to distinct different applications, this dashboard makes use of a common tag called application applied to every metric.

In a Spring Boot setting, this could look like this:

java
@Bean
MeterRegistryCustomizer<MeterRegistry> configurer(
    @Value("${spring.application.name}") String applicationName) {
    return (registry) -> registry.config().commonTags("application", applicationName);
}

Or since Spring Boot 2.1 / Micrometer 1.1.0 with a property:

properties
management.metrics.tags.application=${spring.application.name}

Compatibility

  • micrometer:1.1.0+
  • micrometer-jvm-extras:0.1.2+

Changelog

  • 2023-05-04 (Revision 10)
    • added GC Pressure panel in JVM Misc section
    • changed process average CPU usage query from 1h to 15m
    • reworked Buffer Pool panels
      • combined buffer usage and buffer count into one panel
      • fixed buffer detection (where hardcoded to “direct” and “mapped” before)
    • removed JVM Memory Pool selection dropdown
  • 2019-11-03 (Revision 9)
    • adjusted “JVM Process Memory” panel to micrometer-jvm-extras:0.2.0 (removed ‘pss’ and ‘swappss’)
    • dropped micrometer:1.0.x query fallbacks from PromQL
    • minor polish
  • 2019-04-15 (Revision 8)
    • fixed PromQL query for Java11 non-heap areas
    • GC allocation/promotion unit changed to bytes/s (from byte)
    • moved process memory metrics to dedicated panel
  • 2018-11-14 (Revision 7)
    • updated some metric queries (with fallbacks) due to meter name changes from Micrometer 1.0.x to 1.1.x
    • added Thread States panel

Contact

For suggestions or bug reports, please contact me on Twitter or contact/DM mweirauch in the Micrometer Slack.

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 6,478,193