akka.cluster

SigarMetricsCollector

Related Doc: package cluster

class SigarMetricsCollector extends JmxMetricsCollector

Loads metrics through Hyperic SIGAR and JMX monitoring beans. This loads wider and more accurate range of metrics compared to JmxMetricsCollector by using SIGAR's native OS library.

The constructor will by design throw exception if org.hyperic.sigar.Sigar can't be loaded, due to missing classes or native libraries.

Source
ClusterMetricsCollector.scala
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SigarMetricsCollector
  2. JmxMetricsCollector
  3. MetricsCollector
  4. Closeable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SigarMetricsCollector(system: ActorSystem)

    This constructor is used when creating an instance from configured FQCN

  2. new SigarMetricsCollector(address: Address, decayFactor: Double, sigar: AnyRef)

    address

    The akka.actor.Address of the node being sampled

    sigar

    the org.hyperic.Sigar instance

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from SigarMetricsCollector to any2stringadd[SigarMetricsCollector] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SigarMetricsCollector, B)

    Implicit information
    This member is added by an implicit conversion from SigarMetricsCollector to ArrowAssoc[SigarMetricsCollector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(): Unit

    Releases any native resources associated with this instance.

    Releases any native resources associated with this instance.

    Definition Classes
    SigarMetricsCollectorJmxMetricsCollector → Closeable
  9. def cpuCombined: Option[Metric]

    (SIGAR) Returns the combined CPU sum of User + Sys + Nice + Wait, in percentage.

    (SIGAR) Returns the combined CPU sum of User + Sys + Nice + Wait, in percentage. This metric can describe the amount of time the CPU spent executing code during n-interval and how much more it could theoretically. Note that 99% CPU utilization can be optimal or indicative of failure.

    In the data stream, this will sometimes return with a valid metric value, and sometimes as a NaN or Infinite. Documented bug https://bugzilla.redhat.com/show_bug.cgi?id=749121 and several others.

    Creates a new instance each time.

  10. def ensuring(cond: (SigarMetricsCollector) ⇒ Boolean, msg: ⇒ Any): SigarMetricsCollector

    Implicit information
    This member is added by an implicit conversion from SigarMetricsCollector to Ensuring[SigarMetricsCollector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (SigarMetricsCollector) ⇒ Boolean): SigarMetricsCollector

    Implicit information
    This member is added by an implicit conversion from SigarMetricsCollector to Ensuring[SigarMetricsCollector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): SigarMetricsCollector

    Implicit information
    This member is added by an implicit conversion from SigarMetricsCollector to Ensuring[SigarMetricsCollector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): SigarMetricsCollector

    Implicit information
    This member is added by an implicit conversion from SigarMetricsCollector to Ensuring[SigarMetricsCollector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  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 formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from SigarMetricsCollector to StringFormat[SigarMetricsCollector] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  20. def heapCommitted(heap: MemoryUsage): Option[Metric]

    (JMX) Returns the current sum of heap memory guaranteed to be available to the JVM from all heap memory pools (in bytes).

    (JMX) Returns the current sum of heap memory guaranteed to be available to the JVM from all heap memory pools (in bytes). Creates a new instance each time.

    Definition Classes
    JmxMetricsCollector
  21. def heapMax(heap: MemoryUsage): Option[Metric]

    (JMX) Returns the maximum amount of memory (in bytes) that can be used for JVM memory management.

    (JMX) Returns the maximum amount of memory (in bytes) that can be used for JVM memory management. If not defined the metrics value is None, i.e. never negative. Creates a new instance each time.

    Definition Classes
    JmxMetricsCollector
  22. def heapMemoryUsage: MemoryUsage

    Current heap to be passed in to heapUsed, heapCommitted and heapMax

    Current heap to be passed in to heapUsed, heapCommitted and heapMax

    Definition Classes
    JmxMetricsCollector
  23. def heapUsed(heap: MemoryUsage): Option[Metric]

    (JMX) Returns the current sum of heap memory used from all heap memory pools (in bytes).

    (JMX) Returns the current sum of heap memory used from all heap memory pools (in bytes). Creates a new instance each time.

    Definition Classes
    JmxMetricsCollector
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def metrics: Set[Metric]

  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. val pid: Long

  30. def processors: Option[Metric]

    (JMX) Returns the number of available processors Creates a new instance each time.

    (JMX) Returns the number of available processors Creates a new instance each time.

    Definition Classes
    JmxMetricsCollector
  31. def sample(): NodeMetrics

    Samples and collects new data points.

    Samples and collects new data points. Creates a new instance each time.

    Definition Classes
    JmxMetricsCollectorMetricsCollector
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def systemLoadAverage: Option[Metric]

    (SIGAR / JMX) Returns the OS-specific average load on the CPUs in the system, for the past 1 minute.

    (SIGAR / JMX) Returns the OS-specific average load on the CPUs in the system, for the past 1 minute. On some systems the JMX OS system load average may not be available, in which case a -1 is returned from JMX, which means that None is returned from this method. Hyperic SIGAR provides more precise values, thus, if the library is on the classpath, it is the default. Creates a new instance each time.

    Definition Classes
    SigarMetricsCollectorJmxMetricsCollector
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (SigarMetricsCollector, B)

    Implicit information
    This member is added by an implicit conversion from SigarMetricsCollector to ArrowAssoc[SigarMetricsCollector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from JmxMetricsCollector

Inherited from MetricsCollector

Inherited from Closeable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SigarMetricsCollector to any2stringadd[SigarMetricsCollector]

Inherited by implicit conversion StringFormat from SigarMetricsCollector to StringFormat[SigarMetricsCollector]

Inherited by implicit conversion Ensuring from SigarMetricsCollector to Ensuring[SigarMetricsCollector]

Inherited by implicit conversion ArrowAssoc from SigarMetricsCollector to ArrowAssoc[SigarMetricsCollector]

Ungrouped