Package io.prometheus.client.hotspot
Class MemoryAllocationExports
- java.lang.Object
-
- io.prometheus.client.Collector
-
- io.prometheus.client.hotspot.MemoryAllocationExports
-
public class MemoryAllocationExports extends Collector
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
MemoryAllocationExports.AllocationCountingNotificationListener
-
Nested classes/interfaces inherited from class io.prometheus.client.Collector
Collector.Describable, Collector.MetricFamilySamples, Collector.Type
-
-
Field Summary
Fields Modifier and Type Field Description private Counter
allocatedCounter
-
Fields inherited from class io.prometheus.client.Collector
MILLISECONDS_PER_SECOND, NANOSECONDS_PER_SECOND
-
-
Constructor Summary
Constructors Constructor Description MemoryAllocationExports()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Collector.MetricFamilySamples>
collect()
Return all metrics of this Collector.protected java.util.List<java.lang.management.GarbageCollectorMXBean>
getGarbageCollectorMXBeans()
-
Methods inherited from class io.prometheus.client.Collector
checkMetricLabelName, checkMetricName, collect, doubleToGoString, register, register, sanitizeMetricName
-
-
-
-
Field Detail
-
allocatedCounter
private final Counter allocatedCounter
-
-
Method Detail
-
collect
public java.util.List<Collector.MetricFamilySamples> collect()
Description copied from class:Collector
Return all metrics of this Collector.
-
getGarbageCollectorMXBeans
protected java.util.List<java.lang.management.GarbageCollectorMXBean> getGarbageCollectorMXBeans()
-
-