Class/Object

kamon.system.sigar

ProcessCpuMetrics

Related Docs: object ProcessCpuMetrics | package sigar

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cleanup: Unit

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    GenericEntityRecorder
  11. var currentLoad: Long

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  34. var lastProcCpu: ProcCpu

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  48. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  49. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  50. val pid: Long

    Permalink
  51. val processSystemCpu: Histogram

    Permalink
  52. val processTotalCpu: Histogram

    Permalink
  53. val processUserCpu: Histogram

    Permalink
  54. def removeCounter(key: CounterKey): Unit

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  63. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  64. val totalCores: Long

    Permalink
  65. def update(): Unit

    Permalink

    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"

  66. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SigarMetric

Inherited from GenericEntityRecorder

Inherited from EntityRecorder

Inherited from AnyRef

Inherited from Any

Ungrouped