Ejemplo n.º 1
0
        private AlertRaised AddErrorAlert(Queue <EtlErrorInfo> errors, EtlErrorsDetails details, AlertRaised alert)
        {
            details.Update(errors);

            _notificationCenter.Add(alert);

            return(alert);
        }
Ejemplo n.º 2
0
 public EtlProcessStatistics(string processTag, string processName, NotificationCenter.NotificationCenter notificationCenter)
 {
     _processTag         = processTag;
     _processName        = processName;
     _notificationCenter = notificationCenter;
     TransformationErrorsInCurrentBatch = new EtlErrorsDetails();
     LastLoadErrorsInCurrentBatch       = new EtlErrorsDetails();
     LastSlowSqlWarningsInCurrentBatch  = new SlowSqlDetails();
     _alertsGuard = new EnsureAlerts(this);
 }