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
- 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:
@Bean
MeterRegistryCustomizer<MeterRegistry> configurer(
@Value("${spring.application.name}") String applicationName) {
return (registry) -> registry.config().commonTags("application", applicationName);
}
Or since Micrometer 1.1.0
with a property:
management.metrics.tags.application=${spring.application.name}
Compatibility
- micrometer:1.1.0+
- micrometer-jvm-extras:0.1.2+
Changelog
- 2019-11-03
- 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
- 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
- updated some metric queries (with fallbacks) due to meter name changes from Micrometer
1.0.x
to1.1.x
- added Thread States panel
- updated some metric queries (with fallbacks) due to meter name changes from Micrometer
Contact
For suggestions or bug reports, please contact me on Twitter or contact/DM mweirauch
in the Micrometer Slack.
Dashboard revisions
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Decscription | Created | |
---|---|---|---|
Download |
Sign up for Grafana Cloud
Get this dashboard
Data source:
Dependencies: