Appearance
JVM Metrics
This page documents Prometheus metrics exposed by the JVM instrumentation module of the Prometheus Java Client Library inside of Yellowbrick components.
Purpose
JVM metrics are essential for understanding the behavior and health of long-running Java processes. They cover a wide range of subsystems:
- Memory usage (heap, non-heap, and memory pools)
- Garbage collection frequency and duration
- JIT compilation time
- Thread activity and contention
- Class loading dynamics
- Process-level system statistics (CPU usage, open file descriptors)
- Native memory tracking
These metrics help detect memory leaks, GC pressure, thread exhaustion, and performance degradation across critical components.
Metrics
| Name | Type | Freq | Labels | Description |
|---|---|---|---|---|
Buffer Pool Metrics | group | 10s | - | JVM buffer pool metrics |
Class Loading Metrics | group | 10s | - | JVM class loading stats |
Compilation Metrics | group | 10s | - | JVM JIT compilation metrics |
Garbage Collector Metrics | group | 10s | - | Garbage collector performance |
Memory Metrics | group | 10s | - | JVM heap/non-heap memory usage |
Memory Pool Allocation Metrics | group | 10s | - | JVM memory pool allocation metrics |
Native Memory Metrics | group | 10s | - | JVM native memory tracking |
Process Metrics | group | 10s | - | Process-level stats like CPU, memory, open fds, start time |
Runtime Metrics | group | 10s | - | JVM runtime and system properties |
Threads Metrics | group | 10s | - | JVM thread-related metrics |