Class JvmBufferPoolMetrics
Object
JvmBufferPoolMetrics
JVM Buffer Pool metrics. The
JvmBufferPoolMetrics
are registered as part of the JvmMetrics
like this:
JvmMetrics.builder().register();
However, if you want only the JvmBufferPoolMetrics
you can also register them directly:
JvmBufferPoolMetrics.builder().register();
Example metrics being exported:
# HELP jvm_buffer_pool_capacity_bytes Bytes capacity of a given JVM buffer pool. # TYPE jvm_buffer_pool_capacity_bytes gauge jvm_buffer_pool_capacity_bytes{pool="direct"} 8192.0 jvm_buffer_pool_capacity_bytes{pool="mapped"} 0.0 # HELP jvm_buffer_pool_used_buffers Used buffers of a given JVM buffer pool. # TYPE jvm_buffer_pool_used_buffers gauge jvm_buffer_pool_used_buffers{pool="direct"} 1.0 jvm_buffer_pool_used_buffers{pool="mapped"} 0.0 # HELP jvm_buffer_pool_used_bytes Used bytes of a given JVM buffer pool. # TYPE jvm_buffer_pool_used_bytes gauge jvm_buffer_pool_used_bytes{pool="direct"} 8192.0 jvm_buffer_pool_used_bytes{pool="mapped"} 0.0
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JvmBufferPoolMetrics.Builder
builder()
static JvmBufferPoolMetrics.Builder
builder
(PrometheusProperties config)
-
Method Details
-
builder
-
builder
-