/// <summary>
 /// Initializes a new instance of the type
 /// </summary>
 /// <param name="containerName">The name of the container to use in logging operations</param>
 /// <param name="diagnosticsConfiguration">A diagnostics instance to use when instantiating the container</param>
 /// <param name="probeConfiguration">The availability and liveness probe configuration</param>
 /// <param name="startPosition">The event position to start processing if no checkpoint is found for the partition</param>
 protected LegacyProcessorBase(string containerName, DiagnosticsConfiguration diagnosticsConfiguration, IProbeConfiguration probeConfiguration, EventPosition startPosition) : base(containerName, diagnosticsConfiguration, probeConfiguration, startPosition)
 {
 }
 /// <summary>
 /// Initializes a new instance of the type
 /// </summary>
 /// <param name="containerName">The name of the container to use in logging operations</param>
 /// <param name="diagnosticsConfiguration">A diagnostics instance to use when instantiating the container</param>
 /// <param name="probeConfiguration">The availability and liveness probe configuration</param>
 /// <param name="startPosition">The event position to start processing if no checkpoint is found for the partition</param>
 protected LegacyProcessorBase(string containerName, DiagnosticsConfiguration diagnosticsConfiguration, IProbeConfiguration probeConfiguration, EventPosition startPosition) : base(containerName, probeConfiguration, diagnosticsConfiguration)
 {
     _loggerFactory                   = diagnosticsConfiguration.LoggerFactory;
     _startPosition                   = startPosition;
     _iterationCounter                = diagnosticsConfiguration.MetricFactory.CreateCounter("pro_iteration_counter", "Counts the number of iterations the demo container has performed.", false, new string[0]);
     _scaleEventCounter               = diagnosticsConfiguration.MetricFactory.CreateCounter("pro_scale_event_counter", "Counts the number of times a scale event has occurred.", false, new string[0]);
     _healthProbeCounter              = diagnosticsConfiguration.MetricFactory.CreateCounter("pro_health_counter", "Counts the number of times the liveness probe endpoint has been accessed since the start of the container.", false, new string[0]);
     _healthProbeFailureCounter       = diagnosticsConfiguration.MetricFactory.CreateCounter("pro_health_failure_counter", "Counts the number of times the liveness probe endpoint has been accessed and failed since the start of the container.", false, new string[0]);
     _availabilityProbeCounter        = diagnosticsConfiguration.MetricFactory.CreateCounter("pro_availability_counter", "Counts the number of times the readiness probe endpoint has been accessed since the start of the container.", false, new string[0]);
     _availabilityProbeFailureCounter = diagnosticsConfiguration.MetricFactory.CreateCounter("pro_availability_failure_counter", "Counts the number of times the readiness probe endpoint has been accessed and failed since the start of the container.", false, new string[0]);
 }
 /// <summary>
 /// Initializes a new instance of the type
 /// </summary>
 /// <param name="containerName">The name of the container to use in logging operations</param>
 /// <param name="diagnosticsConfiguration">A diagnostics instance to use when instantiating the container</param>
 /// <param name="probeConfiguration">The availability and liveness probe configuration</param>
 /// <param name="startPosition">The event position to start processing if no checkpoint is found for the partition</param>
 public DemoContainer(string containerName, DiagnosticsConfiguration diagnosticsConfiguration, IProbeConfiguration probeConfiguration, EventPosition startPosition) : base(containerName, diagnosticsConfiguration, probeConfiguration, startPosition)
 {
 }