Package org.apache.pekko.cluster.metrics
Class StandardMetrics$
java.lang.Object
org.apache.pekko.cluster.metrics.StandardMetrics$
Definitions of the built-in standard metrics.
The following extractors and data structures makes it easy to consume the
NodeMetrics in for example load balancers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StandardMetrics$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringSum of User + Sys + Nice + Wait.final StringCpuIdle()Amount of CPU time left after combined and stolen are removed.final StringThe amount of CPU 'stolen' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).extractCpu(NodeMetrics nodeMetrics) extractHeapMemory(NodeMetrics nodeMetrics) final Stringfinal Stringfinal Stringfinal Stringfinal String
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
StandardMetrics$
public StandardMetrics$()
-
-
Method Details
-
HeapMemoryUsed
-
HeapMemoryCommitted
-
HeapMemoryMax
-
SystemLoadAverage
-
Processors
-
CpuCombined
Sum of User + Sys + Nice + Wait. See `org.hyperic.sigar.CpuPerc` -
CpuStolen
The amount of CPU 'stolen' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine). -
CpuIdle
Amount of CPU time left after combined and stolen are removed. -
extractHeapMemory
-
extractCpu
-