Class CpuMetricGauge

java.lang.Object
com.codingchili.core.metrics.CpuMetricGauge
All Implemented Interfaces:
com.codahale.metrics.Metric, com.codahale.metrics.MetricSet

public class CpuMetricGauge extends Object implements com.codahale.metrics.MetricSet
Collects CPU metrics using the operating system mx bean.
  • Constructor Details

    • CpuMetricGauge

      public CpuMetricGauge()
  • Method Details

    • getMetrics

      public Map<String,​com.codahale.metrics.Metric> getMetrics()
      Specified by:
      getMetrics in interface com.codahale.metrics.MetricSet