+ akka-cluster-metrics: new akka module

* new akka module split from akka-cluster
* provides sigar provisioning
* resolve #16121
* see #16354
already documented. sometimes github/browser needs force-refresh page

-------- 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-21894284>:
>
> > + */
> > +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](
> > +    SupervisorStrategyProvider, immutable.Seq(classOf[Config] -> SupervisorStrategyConfiguration))
> > +    .getOrElse {
> > +      log.error(s"Configured strategy provider ${SupervisorStrategyProvider} failed to load, using default ${classOf[ClusterMetricsStrategy].getName}.")
> > +      new ClusterMetricsStrategy(SupervisorStrategyConfiguration)
> > +    }
> > +
> > +  val supervisor = system.systemActorOf(
>
> ok, then please document
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/akka/akka/pull/16475/files#r21894284>.
>