Integration Server 10.11 | Microservices Runtime Guide | Prometheus Metrics | JVM Metrics
 
JVM Metrics
JVM metrics are statistics about the JVM in which Microservices Runtime runs. The JVM contains a wide variety of information which is exposed via Managed Beans (MBeans). Microservices Runtime gathers the JVM metrics data from available MBeans.
Note:
The JDK internal MBeans belong to the java.lang.management package.
The following table identifies the JVM metrics returned by the metrics endpoint, a description of each metric, the Prometheus label for the metric, and the JMX MBean and method from which Microservices Runtime obtains the data.
Prometheus Metric Name
Description
Prometheus Label

sag_is_jvm_classes_loaded_total
Total number of current classes loaded in the Microservices Runtime JVM.
JMX MBean/Method: java.lang.management.​ClassLoadingMXBean.​getLoadedClassCount
host

sag_is_jvm_classes_total
The total number of classes loaded in the Microservices Runtime JVM since it was started.
JMX MBean/Method: java.lang.management.​ClassLoadingMXBean.​getTotalLoadedClassCount
host

sag_is_jvm_classes_​unloaded_total
Total number of classes unloaded in the Microservices Runtime JVM.
JMX MBean/Method: java.lang.management.​ClassLoadingMXBean.​getUnloadedClassCount
host

sag_is_jvm_gc_collection_count
The total number of freed objects from garbage collection cycle.
JMX MBean/Method: java.lang.management.​GarbageCollectorMXBean.​getCollectionCount
host, name

sag_is_jvm_gc_collection_millis
Number of milliseconds elapsed since the last garbage collection cycle.
JMX MBean/Method: java.lang.management.​GarbageCollectorMXBean.​getCollectionTime
host, name

sag_is_jvm_memory_buffer_​pool_capacity_mbytes
The total number of allocated megabytes from NIO buffer pools.
JMX MBean/Method: java.lang.management.​BufferPoolMXBean.getTotalCapacity
host, name

sag_is_jvm_memory_​buffer_pool_count
The total number of buffers from NIO buffer pools.
JMX MBean/Method:
java.lang.management.​BufferPoolMXBean.getCount
host, name

sag_is_jvm_memory_​buffer_pool_used_mbytes
The total number of used megabytes from NIO buffer pools.
JMX MBean/Method:
java.lang.management.​BufferPoolMXBean.getMemoryUsed
host, name

sag_is_jvm_memory​_heap_used_mbytes
The total number of allocated megabytes from heap memory in the Microservices Runtime JVM.
JMX MBean/Method: java.lang.management.​MemoryMXBean.getHeapMemoryUsage
host

sag_is_jvm_memory_​nonheap_used_mbytes
The total number of allocated megabytes that are not from heap memory in the Microservices Runtime JVM.
JMX MBean/Method:
java.lang.management.​​MemoryMXBean.​getNonHeapMemoryUsage
host

sag_is_jvm_memory_​pool_committed_mbytes
The total number of committed megabytes in the named memory pool.
JMX MBean/Method:
java.lang.management.​MemoryPoolMXBean java.lang.management.​​MemoryUsage.getCommitted()
host, name, poolType

sag_is_jvm_memory_​pool_init_mbytes
The total number of initially allocated megabytes in the named memory pool.
JMX MBean/Method: java.lang.management.​MemoryPoolMXBean
java.lang.management.​MemoryUsage.getInit()
host, name, poolType

sag_is_jvm_memory​_pool_max_mbytes
The total number of allocated megabytes in the named memory pool.
JMX MBean/Method: java.lang.management.​MemoryPoolMXBean
java.lang.management.​MemoryUsage.getMax()
host, name, poolType

sag_is_jvm_memory_​pool_used_mbytes
The total number of used megabytes in the named memory pool.
JMX MBean/Method: java.lang.management.MemoryPoolMXBean
java.lang.management.​MemoryUsage.getUsed()
host, name, poolType

sag_is_jvm_objects_​pending_finalizer_count
The number of objects ready for garbage collection.
JMX MBean/Method: java.lang.management.MemoryMXBean.​getObjectPendingFinalizationCount
host

sag_is_jvm_thread_​state_blocked_count
The number of BLOCKED threads where BLOCKED is defined in java.lang.Thread.State.
JMX MBean/Method: java.lang.management.ThreadMXBean
java.lang.management.​ThreadInfo.getBlockedCount
host

sag_is_jvm_thread​_state_new_count
The number of NEW threads where NEW is defined in java.lang.Thread.State.
JMX MBean/Method: java.lang.management.ThreadMXBean
host

sag_is_jvm_thread_​state_runnable_count
The number of RUNNABLE threads where RUNNABLE is defined in java.lang.Thread.State.
JMX MBean/Method: java.lang.management.ThreadMXBean
host

sag_is_jvm_thread_​state_terminated_count
The number of TERMINATED threads where TERMINATED is defined in java.lang.Thread.State.
JMX MBean/Method: java.lang.management.​ThreadMXBean.dumpAllThreads
host

sag_is_jvm_thread_​state_timed_waiting_count
The number of TIMED_WAITING threads with a timeout where TIMED_WAITING is defined in java.lang.Thread.State.
JMX MBean/Method: java.lang.management.ThreadMXBean
host

sag_is_jvm_thread​_state_waiting_count
The number of WAITING threads without a timeout where WAITING is defined in java.lang.Thread.State.
JMX MBean/Method: java.lang.management.ThreadMXBean
host

sag_is_jvm_threads​_blocked_count
The number of blocked threads.
JMX MBean/Method: java.lang.management.ThreadMXBean
host

sag_is_jvm_​threads_blocked_millis
The total number of milliseconds threads have been in a blocked state.
JMX MBean/Method: java.lang.management.ThreadMXBean
java.lang.management.​ThreadInfo.getBlockedTime
host

sag_is_jvm_threads_​native_count
The number of threads executing code outside of the JVM.
JMX MBean/Method: java.lang.management.ThreadMXBean
java.lang.management.​ThreadInfo.isInNative
host

sag_is_jvm_​threads_suspend_count
The number of suspended threads.
JMX MBean/Method: java.lang.management.ThreadMXBean
java.lang.management.​ThreadInfo.isSuspended
host

sag_is_jvm_​threads_waited_count
The number of times the thread has been blocked.
JMX MBean/Method: java.lang.management.ThreadMXBean
java.lang.management.​ThreadInfo.getWaitedCount
host

sag_is_jvm_​threads_waited_millis
Total number milliseconds all threads have waited for a lock.
JMX MBean/Method: java.lang.management.ThreadMXBean
java.lang.management.​ThreadInfo.getWaitedTime
host