+ akka-cluster-metrics: new akka module

* new akka module split from akka-cluster
* provides sigar provisioning
* resolve #16121
* see #16354
ok, made strategy private[metrics]

-------- Original Message --------
Subject: Re: [akka] + akka-cluster-metrics: new akka module (Patrik
Nordwall6475)

> In
> akka-cluster-metrics/src/main/scala/akka/cluster/metrics/ClusterMetricsExtension.scala
> <https://github.com/akka/akka/pull/16475#discussion-diff-21894337>:
>
> > + * 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.
> > + */
> > +class ClusterMetricsExtension(system: ExtendedActorSystem) extends Extension {
> > +
> > +  private val log: LoggingAdapter = Logging(system, getClass.getName)
> > +
> > +  val settings = ClusterMetricsSettings(system.settings.config)
> > +  import settings._
> > +
> > +  val strategy = system.dynamicAccess.createInstanceFor[SupervisorStrategy](
>
> but it's not used in collector, it's used in parent supervisor (and
> that is not intended to be replaced)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/akka/akka/pull/16475/files#r21894337>.
>