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 Methodprivate Methodprivate Methodprivate Methodprivate static final LoggerFields inherited from class io.prometheus.client.Collector
MILLISECONDS_PER_SECOND, NANOSECONDS_PER_SECOND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessBufferPoolMXBeans(Class<?> bufferPoolMXBeanClass) private longcallLongMethond(Method method, Object pool) collect()Return all of the metrics of this Collector.private StringMethods 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