Generic JVM/System Metrics

JVM/System Metrics describes the metrics exported by Micrometer Stats Exporter for the Java Virtual Machine (JVM) and the larger system.

Table 1. JVM/System Metrics
Metric Description
jvm_buffer_count_buffers Estimated number of buffers in the pool.
jvm_buffer_memory_used_bytes Estimate of the memory that the JVM is using for this buffer pool.
jvm_buffer_total_capacity_bytes Estimated total capacity of the buffers in this pool.
jvm_classes_loaded_classes Number of classes that are currently loaded in the JVM.
jvm_classes_unloaded_classes_total Total number of classes unloaded from the time that the JVM started execution.
jvm_gc_live_data_size_bytes Size of old generation memory pool after a full garbage collection (GC).
jvm_gc_max_data_size_bytes Maximum size of old generation memory pool.
jvm_gc_memory_allocated_bytes_total Incremented for an increase in the size of the young generation memory pool between one GC and the next.
jvm_gc_memory_promoted_bytes_total Number of positive increases in the size of the old generation memory pool from before a GC to after a GC.
jvm_gc_pause_seconds_count Time spent in GC pause (count).
jvm_gc_pause_seconds_max Maximum time spent in GC pause.
jvm_gc_pause_seconds_sum Total time spent in GC pause.
jvm_memory_committed_bytes Amount of memory in bytes committed for the JVM to use.
jvm_memory_max_bytes Maximum amount of memory in bytes that can be used for memory management.
jvm_memory_used_bytes Amount of used memory.
jvm_threads_daemon_threads Current number of live daemon threads.
jvm_threads_live_threads Current number of live threads including both daemon and non-daemon threads.
jvm_threads_peak_threads The peak live thread count starting from when the JVM started or peak was reset.
jvm_threads_states_threads The current number of threads in each state.
process_cpu_usage Recent cpu usage for the JVM process.
process_files_max_files Maximum file descriptor count.
process_files_open_files Open file descriptor count.
process_start_time_seconds Start time of the process (from the start of the UNIX epoch.)
process_uptime_seconds JVM uptime.
system_cpu_count Number of processors available to the JVM.
system_cpu_usage Recent CPU usage for the whole system.
system_load_average_1m Sum of the number of runnable entities queued to available processors and the number of runnable entities running on the available processors averaged over a period of time.
log4j2_events_total Number of log events reported for each log level (trace, debug, info, warn, and error).
tomcat_sessions_active_current_sessions Number of currently active sessions.
tomcat_sessions_active_max_sessions Maximum number of active sessions.
tomcat_sessions_alive_max_seconds Maximum time for all active sessions.
tomcat_sessions_created_sessions_total Total number of sessions created.
tomcat_sessions_expired_sessions_total Total number of sessions expired.
tomcat_sessions_rejected_sessions_total Total number of sessions rejected