Class JvmMemoryPoolAllocationMetrics
Object
JvmMemoryPoolAllocationMetrics
JVM memory allocation metrics. The
JvmMemoryPoolAllocationMetrics
are registered as part
of the JvmMetrics
like this:
JvmMetrics.builder().register();
However, if you want only the JvmMemoryPoolAllocationMetrics
you can also register them
directly:
JvmMemoryAllocationMetrics.builder().register();
Example metrics being exported:
# HELP jvm_memory_pool_allocated_bytes_total Total bytes allocated in a given JVM memory pool. Only updated after GC, not continuously. # TYPE jvm_memory_pool_allocated_bytes_total counter jvm_memory_pool_allocated_bytes_total{pool="Code Cache"} 4336448.0 jvm_memory_pool_allocated_bytes_total{pool="Compressed Class Space"} 875016.0 jvm_memory_pool_allocated_bytes_total{pool="Metaspace"} 7480456.0 jvm_memory_pool_allocated_bytes_total{pool="PS Eden Space"} 1.79232824E8 jvm_memory_pool_allocated_bytes_total{pool="PS Old Gen"} 1428888.0 jvm_memory_pool_allocated_bytes_total{pool="PS Survivor Space"} 4115280.0
-
Nested Class Summary
-
Method Summary
-
Method Details
-
builder
-
builder
-