public class CpuUsageGaugeSet
extends java.lang.Object
implements com.codahale.metrics.MetricSet
MetricSet that monitors CPU usage using HotSpot MBeans.
Some of the metrics reported may not be available on non-HotSpot JVMs.
process.cpuUsage – the CPU percentage currently used by the process (averaged between measurements).
the result isn't normalized to the number of cores, so it falls in the range 0-100*cores%process.cpuLoadsystem.loadAveragesystem.cpuLoad| Constructor and Description |
|---|
CpuUsageGaugeSet() |
CpuUsageGaugeSet(javax.management.MBeanServer beanServer) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,com.codahale.metrics.Metric> |
getMetrics() |