/// <summary> /// Creates a new metric recorder using the values provided in <see cref="PcfEnvironment" /> /// </summary> internal PcfMetricRecorder(IActorRef reporterActorRef, IActorRef counterAggregatorRef, ActorSystem ownedActorSystem) : this(PcfMetricForwarderSettings.FromEnvironment(), reporterActorRef, counterAggregatorRef, ownedActorSystem) { }
/// <summary> /// Performs all of the initialization to get the PCF metrics forwarding engine up and running. /// </summary> /// <param name="system">Optional. An <see cref="ActorSystem" /> used to spawn the underlying actors needed to do the job.</param> /// <returns>A new <see cref="PcfMetricRecorder" /> instance.</returns> public static PcfMetricRecorder Create(ActorSystem system = null) { return(Create(PcfMetricForwarderSettings.FromEnvironment(), system)); }