Package io.prometheus.client.hotspot
Class BufferPoolsExports
java.lang.Object
io.prometheus.client.Collector
io.prometheus.client.hotspot.BufferPoolsExports
Exports metrics about JVM buffers.
Can be replaced with a simple access once JDK 1.7 compatibility is baseline.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.prometheus.client.Collector
Collector.Describable, Collector.MetricFamilySamples, Collector.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Method
private Method
private Method
private Method
private static final Logger
Fields inherited from class io.prometheus.client.Collector
MILLISECONDS_PER_SECOND, NANOSECONDS_PER_SECOND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessBufferPoolMXBeans
(Class<?> bufferPoolMXBeanClass) private long
callLongMethond
(Method method, Object pool) collect()
Return all of the metrics of this Collector.private String
Methods inherited from class io.prometheus.client.Collector
checkMetricLabelName, checkMetricName, doubleToGoString, register, register, sanitizeMetricName
-
Field Details
-
LOGGER
-
bufferPoolMXBeans
-
getName
-
getMemoryUsed
-
getTotalCapacity
-
getCount
-
-
Constructor Details
-
BufferPoolsExports
public BufferPoolsExports()
-
-
Method Details