kamon.system.sigar

ProcessCpuMetrics

class ProcessCpuMetrics extends GenericEntityRecorder with SigarMetric

Process Cpu usage metrics, as reported by Sigar:

Linear Supertypes
SigarMetric, GenericEntityRecorder, EntityRecorder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProcessCpuMetrics
  2. SigarMetric
  3. GenericEntityRecorder
  4. EntityRecorder
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProcessCpuMetrics(sigar: Sigar, instrumentFactory: InstrumentFactory, logger: LoggingAdapter)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def cleanup: Unit

    Definition Classes
    GenericEntityRecorder → EntityRecorder
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collect(collectionContext: CollectionContext): EntitySnapshot

    Definition Classes
    GenericEntityRecorder → EntityRecorder
  10. def counter(key: CounterKey): Counter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  11. def counter(name: String, unitOfMeasurement: UnitOfMeasurement): Counter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  12. def counter(name: String): Counter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  13. var currentLoad: Long

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def gauge(key: GaugeKey, dynamicRange: DynamicRange, refreshInterval: FiniteDuration, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  18. def gauge(key: GaugeKey, refreshInterval: FiniteDuration, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  19. def gauge(key: GaugeKey, dynamicRange: DynamicRange, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  20. def gauge(key: GaugeKey, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  21. def gauge(name: String, dynamicRange: DynamicRange, refreshInterval: FiniteDuration, unitOfMeasurement: UnitOfMeasurement, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  22. def gauge(name: String, refreshInterval: FiniteDuration, unitOfMeasurement: UnitOfMeasurement, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  23. def gauge(name: String, dynamicRange: DynamicRange, unitOfMeasurement: UnitOfMeasurement, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  24. def gauge(name: String, dynamicRange: DynamicRange, refreshInterval: FiniteDuration, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  25. def gauge(name: String, unitOfMeasurement: UnitOfMeasurement, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  26. def gauge(name: String, refreshInterval: FiniteDuration, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  27. def gauge(name: String, dynamicRange: DynamicRange, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  28. def gauge(name: String, valueCollector: CurrentValueCollector): Gauge

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  29. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. def histogram(name: String, dynamicRange: DynamicRange, unitOfMeasurement: UnitOfMeasurement): Histogram

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  32. def histogram(name: String, unitOfMeasurement: UnitOfMeasurement): Histogram

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  33. def histogram(name: String, dynamicRange: DynamicRange): Histogram

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  34. def histogram(name: String): Histogram

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. var lastProcCpu: ProcCpu

  37. def minMaxCounter(key: MinMaxCounterKey, dynamicRange: DynamicRange, refreshInterval: FiniteDuration): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  38. def minMaxCounter(key: MinMaxCounterKey, refreshInterval: FiniteDuration): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  39. def minMaxCounter(key: MinMaxCounterKey, dynamicRange: DynamicRange): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  40. def minMaxCounter(key: MinMaxCounterKey): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  41. def minMaxCounter(name: String, dynamicRange: DynamicRange, refreshInterval: FiniteDuration, unitOfMeasurement: UnitOfMeasurement): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  42. def minMaxCounter(name: String, refreshInterval: FiniteDuration, unitOfMeasurement: UnitOfMeasurement): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  43. def minMaxCounter(name: String, dynamicRange: DynamicRange, unitOfMeasurement: UnitOfMeasurement): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  44. def minMaxCounter(name: String, dynamicRange: DynamicRange, refreshInterval: FiniteDuration): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  45. def minMaxCounter(name: String, unitOfMeasurement: UnitOfMeasurement): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  46. def minMaxCounter(name: String, refreshInterval: FiniteDuration): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  47. def minMaxCounter(name: String, dynamicRange: DynamicRange): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  48. def minMaxCounter(name: String): MinMaxCounter

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  49. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  50. final def notify(): Unit

    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  52. val pid: Long

  53. val processSystemCpu: Histogram

  54. val processTotalCpu: Histogram

  55. val processUserCpu: Histogram

  56. def removeCounter(key: CounterKey): Unit

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  57. def removeCounter(name: String): Unit

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  58. def removeGauge(key: GaugeKey): Unit

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  59. def removeGauge(name: String): Unit

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  60. def removeHistogram(name: String, unitOfMeasurement: UnitOfMeasurement): Unit

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  61. def removeHistogram(name: String): Unit

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  62. def removeMinMaxCounter(key: MinMaxCounterKey): Unit

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  63. def removeMinMaxCounter(name: String): Unit

    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  64. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  65. def toString(): String

    Definition Classes
    AnyRef → Any
  66. val totalCores: Long

  67. def update(): Unit

    While CPU usage time updates not very often, We have introduced a simple heuristic, that supposes that the load is the same as previous, while CPU usage time doesn't update.

    While CPU usage time updates not very often, We have introduced a simple heuristic, that supposes that the load is the same as previous, while CPU usage time doesn't update. But supposing that it could be zero load for a process for some time, We used an arbitrary duration of 2000 milliseconds, after which the same CPU usage time value become legal, and it is supposed that the load is really zero.

    Definition Classes
    ProcessCpuMetricsSigarMetric
    See also

    "StackOverflow: Using Sigar API to get JVM Cpu usage"

  68. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SigarMetric

Inherited from GenericEntityRecorder

Inherited from EntityRecorder

Inherited from AnyRef

Inherited from Any

Ungrouped