ClusterMetricsExtension

Cluster metrics extension.

Cluster metrics is primarily for load-balancing of nodes. It controls metrics sampling at a regular frequency, prepares highly variable data for further analysis by other entities, and publishes the latest cluster metrics data around the node ring and local eventStream to assist in determining the need to redirect traffic to the least-loaded nodes.

Metrics sampling is delegated to the MetricsCollector.

Smoothing of the data for each monitored process is delegated to the EWMA for exponential weighted moving average.

Companion:
object
Source:
ClusterMetricsExtension.scala
trait Extension
class Object
trait Matchable
class Any

Value members

Concrete methods

def subscribe(metricsListener: ActorRef): Unit

Subscribe user metrics listener actor unto ClusterMetricsEvent events published by extension on the system event bus.

Subscribe user metrics listener actor unto ClusterMetricsEvent events published by extension on the system event bus.

Source:
ClusterMetricsExtension.scala
def unsubscribe(metricsListenter: ActorRef): Unit

Unsubscribe user metrics listener actor from ClusterMetricsEvent events published by extension on the system event bus.

Unsubscribe user metrics listener actor from ClusterMetricsEvent events published by extension on the system event bus.

Source:
ClusterMetricsExtension.scala

Concrete fields

Metrics extension configuration.

Metrics extension configuration.

Source:
ClusterMetricsExtension.scala

Supervisor actor. Accepts subtypes of CollectionControlMessages to manage metrics collection at runtime.

Supervisor actor. Accepts subtypes of CollectionControlMessages to manage metrics collection at runtime.

Source:
ClusterMetricsExtension.scala